News for hackers. Stuff that matters.
Re:Ruby vs. Python comes down to the for loop (2021) by saurik on Monday April 22, 2024 @03:32AM (#40112127)
Smalltalk and C both came out in 1972 and it really isn't clear to me that C's crazy for-loop design -- one that actually isn't used by many programming languages -- is somehow better than the one used by Algol, so I am struggling to find even a single thing you said which is making any sense to me :(.
Re:Ruby vs. Python comes down to the for loop (2021) by vidarh on Monday April 22, 2024 @04:06AM (#40112276)
I have programmed C since the 1980's, and I still avoid C for loops when writing C because they're hideous.
Re:Ruby vs. Python comes down to the for loop (2021) by pjmlp on Monday April 22, 2024 @03:51AM (#40112210)
It really isn't, as I have lost count of how many get clever uses out of that loop.