http://www.perlmonks.org?node_id=532473


in reply to Re^2: On Quality
in thread On Quality

It means, "avoid arbitrary limits", but the concreteness of "0, 1, or unlimited" is a useful benchmark.

There are sometimes fundamental reasons for imposing limitations like "there can be at most one X per Y" (0 or 1), "there must always be exactly one X for each Y" (1), "no Y can ever have an X" (0). While limitations like "a Y can never have more than 5 Xs" are most often just arbitrary limits.

Arbitrary limits very often come back to bite you. So it is good to have at least some motivation to do the extra (or perhaps just "different") work up-front to eliminate such arbitrary restrictions.

So being at least suspicious of any "at most N" (for N > 1) restrictions is a good habit.

Of course, sometimes 0 or 1 limits are actually arbitrary and (rarely) specific finite limits above 1 are not arbitrary. But the "0, 1, or unlimited" test is very useful.

- tye