Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Teach Yourself a New Programming Language in 21 Minutes (Or 2-3 Years).
to me foreach
1) had a totally different syntax then the rest of the language (It felt painful as if somebody mixed up German Gamma with English words --- http://forum.werder.de/showthread.php?4107-My-lovely-mister-... )
2) seemed to have no use (I did not yet make any magic with Arrays...)
3) was difficult to read
4) nothing I would understand (back then)
so I closed my eyes for it...
Nowadays I believe it is a must have, whenever you are doing magic with an array. And for me it became a very powerful tool.
There are no comments on this comment yet.
to me foreach
1) had a totally different syntax then the rest of the language (It felt painful as if somebody mixed up German Gamma with English words --- http://forum.werder.de/showthread.php?4107-My-lovely-mister-... )
2) seemed to have no use (I did not yet make any magic with Arrays...)
3) was difficult to read
4) nothing I would understand (back then)
so I closed my eyes for it...
Nowadays I believe it is a must have, whenever you are doing magic with an array. And for me it became a very powerful tool.