3 ms·
Backward compatibility could be one such factor. In any case, documenting edge conditions helps in code maintenance.
by cema 15y ago
Backward compatibility could be one such factor.
In any case, documenting edge conditions helps in code maintenance.
- kragen 15y agoSince I'm coming from Python, JS, and C, passing a null instead of a string doesn't seem like an "edge condition"; it's the same kind of error as passing an integer or Map instead of a string. Passing 0, I suppose, is an edge condition.