docs.scala-lang icon indicating copy to clipboard operation
docs.scala-lang copied to clipboard

A clarification on programming paradigms

Open byyue opened this issue 3 years ago • 0 comments

Regarding one sentence in Scala 3 features:

As the functional programming saying goes, in Scala you write what you want, not how to achieve it.

As far as I know, this conception is not specific to functional programming but more closely related to declarative programming, whose sub-paradigms include DSL, functional programming, and logic programming, among others. A typical example: Prolog.

byyue avatar Feb 05 '22 03:02 byyue