Ich hasse Javascript mehr als Pizza ohne Käse!
-
-
This highlights that in an imperative language, the default loop form should be something like “for(i in 1 to 10) ...” with the semantic that each iteration has a distinct x binding, and no need to explain away why the i’s before and after the i++ are different i’s.
-
i.e. C-style for loops are bad. I’ve been saying this to everyone who will listen for years. :)
- 5 more replies
New conversation -
-
-
This is also how ALGOL 68 worked! "Variables" are always constant references, which might point to stack-allocated memory. There are no lvalues. It seems much nicer than the standard system that conflates values and mutable cells, to me. See e.g. http://www.cap-lore.com/Languages/cell.html …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
ofc if everything is immutable then it has the same semantics whether you copy variables into the closure environment or traverse up the scope to get references to them
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
