Y
Hacker News
new
|
ask
|
show
|
jobs
by
pogden
3977 days ago
The crazy part is that, instead of throwing an error when given input that doesn't make sense, it just silently produces garbage output.
1 comments
alkonaut
3976 days ago
This. Documenting odd behavior like this isn't an excuse for having odd behavior. It should just be changed to fail on bad input. It's not even a breaking change (apart from code already using it with bad input).
link