News for hackers. Stuff that matters.
Re:Show HN: tere – A Faster Alternative to cd+ls by MichaelCollins on Friday July 15, 2022 @12:10PM (#32109592)
atoi is a classic example of the sort of bad naming C has long been infamous for. It's not a word, it's an initialism, and the common documentation for it doesn't even say what the initialism actually means. It's relatively easy to infer what it means from the description of what it does (ascii to integer), but can easily be incorrectly inferred ([character] array to integer.)

C kind of gets a pass for this stuff because C was old and in the early days they were limited by token size. But to still be using this term today in a new language seems fairly derisible.

There are no comments on this comment yet.