Comment by toupeira
11 years ago
a) It's about half of what I'd write for my own, where I would make sure to test all edge cases (e.g. input string being longer than padding length) as well as Unicode characters. Writing expectations is cheap, fixing bugs later isn't.
b) I agree, but you were the one offering "well-testedness" as an argument :)
No comments yet
Contribute on Hacker News ↗