Hacker News new | ask | show | jobs
by senkora 14 days ago
The part that confuses me is that they use “it” to name a variable that is not actually an iterator. That’s very bad style. I would name it “s”.
3 comments

No argument that it's inappopriate, but I wonder if the author works with other programming languages - in some (Groovy, Kotlin, Ruby), "it" is the implicit block parameter.
Haha I always interpreted "it" to mean literally the word "it". I didn't realize it's a short-hand form for iterator, but now I'm not so sure if that's universal or if there's a genuine split.
It's "it" as in the pronoun, not as in "iterator".
We call that “Larry Wall nomenclature”.