Re:A URL Lengthener
by mypalmike on Friday May 14, 2021 @03:57PM
(#27159025)
So you would pick an arbitrary upper limit based on your own notion of what is sane. Picking such a limit, you would still need to write the same error handling code for limits, but it would happen at maybe 200. And the next programmer who inherits your code looks at the spec and your code and has to guess "why 200"? And it becomes lore. Which is specifically worse than writing to the spec.
[ Parent
| on HN ]