3 ms·
Agree 100%. I’ve made peace with python, accepted that I need to use it, but I hate it. Death to for loops.
by te_chris 2y ago
Agree 100%.
I’ve made peace with python, accepted that I need to use it, but I hate it. Death to for loops.
- kstrauser 2y agoReally? That's one of the things I like about Python: how its for loops consistently consume an iterator, and that's it. Anything that looks like an iterator can be looped across or used in a comprehension without special casing.
- ahartmetz 2y agoI remember some Ruby tutorial that proudly showcased a 5.times begin loop_body end loop. Too cutesy IMO.