docs.scala-lang
docs.scala-lang copied to clipboard
A clarification on programming paradigms
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.