3 ms·
> Expressions are fundamental to Racket in a way that goes way beyond syntax. This is typical of all (truly) functional languages, in my experience. They are e
by DonaldPShimoda 4y ago
> Expressions are fundamental to Racket in a way that goes way beyond syntax.
This is typical of all (truly) functional languages, in my experience. They are expression-oriented rather than statement-oriented. You'll find similar behavior in, e.g., OCaml and Haskell. And since it was inspired by OCaml, you'll also find that Rust has an interesting expression-oriented approach to imperative programming, where they have essentially adopted the idea that "statements" are just unit-producing expressions that can be sequenced.