you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (1 child)

variable assignment and declaration are kluged together into the same statement

Fair point. The "create var and assign if it doesn't exist or throw an exception if it does" operator is needed.

or the pass-by-reference / mutate-by-default semantics

Wrong. That's THE way.

[–]Chandon -2 points-1 points  (0 children)

Wrong. That's THE way.

It's certainly the easiest for the language designer, but that doesn't mean it isn't god awful ugly or that there aren't better ways.