News for hackers. Stuff that matters.
Re:My Favorite Programming Problem to Teach: Digit Length by hoseja on Monday November 11, 2019 @04:15AM (#21503232)
Precisely. It was the first solution I came up with after reading the title. It's perfect in that all the subtleties are already handled by the language. Digit length of base10 numbers isn't really a logic/math/computer problem, it's a string and writing convention problem.

There are no comments on this comment yet.