zlacker

[parent] [thread] 0 comments
1. kstrau+(OP)[view] [source] 2025-12-05 21:35:57
It's pretty similar, but writing `for item in container { item.do_it() }` is a lot less error prone than the C equivalent. The ha-ha-but-serious take is that once you get that snippet to compile, there's almost nothing you could ever do to break it without also making the compiler scream at you.
[go to top]