loading...

re: What are your favorite programming language syntax features? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Pattern matching like you see in OCaml variants (ReasonML, F#, etc.) match x with | 0 -> "Nothin\'" | 1 -> "One" | 2 | 3 -> "Deuce or t...
 

+1 for Guards.

Also I really enjoy Pipes, like

my_data
|> dedupe
|> reverse
|> skedoodle

instead of

skedoodle(reverse(dedupe(my_data)))

I think they are even coming to JS.

Code of Conduct Report abuse