Hacker News new | ask | show | jobs
by kryptiskt 808 days ago
There's a major benefit: you can test that a program with an artificial limit works up to the limit, and fails in a well-defined manner above the limit. A program without any hardcoded limit will also fail at some point, but you don't know where and how.