3 ms·
Yes, I'd be ok with a `while` that checked for the end of the list: https://news.ycombinator.com/item?id=12798192 https://news.ycombinator.com/item?id=12798192
by akkartik 10y ago
Yes, I'd be ok with a `while` that checked for the end of the list: https://news.ycombinator.com/item?id=12798192 https://news.ycombinator.com/item?id=12798192
I really try not to be a nazi about this sort of thing. Very few things matter enough to get into a HN conversation about "taste".
- tempestn 10y agoTotally, it's not about the one right way to do something. I do think there's some value in putting thought into how to write.. maybe "clean" code would be a less charged word than tasteful.