3 ms·
What about all those superfluous commas? I also dislike languages where expressions don't have visible bounds.
by lispm 10y ago
What about all those superfluous commas? I also dislike languages where expressions don't have visible bounds.
- icebraining 10y agoA line break isn't visible? Not by itself, I suppose, but in the code, it's hard to miss.
- lispm 10y agofor what expression does the line break stand, exactly?
- smallnamespace 10y agoBut why must everything be an expression?
- davexunit 10y agoBecause anything else is a language design mistake.
- smallnamespace 10y agoCan you justify that statement empirically?
- 918723192 10y agoa, b, c is a tuple. Parentheses can be omitted, same as in some ML dialects: # let a, b, c = 10, 11, 22;; val a : int = 10 val b : int = 11 val c : int = 22 # a, b, c;; - : int * int * int = (10, 11, 22) # (a, b, c);; - : int * int * int = (10, 11, 22)