4 ms·
Weird defensive gymnastics? It's just using a language feature the way it's meant to be used. How is that any more "gymnastics" than the ":=" syntax recommended
by mistercow 14y ago
Weird defensive gymnastics? It's just using a language feature the way it's meant to be used. How is that any more "gymnastics" than the ":=" syntax recommended by the article you linked?
- eurleif 14y agoSo the "do" syntax is meant to be used for all local variables? That seems kind of weird, but I'll take your word for it.
- mistercow 14y agoIt isn't only for that, and as I said, it doesn't have to be used for that. But it's an effective way to do things, and it is one of the purposes of the construct.