in reply to Re^19: Assignable Subroutines
in thread Assignable Subroutines
You can get away with a type for the positive integers even if their ranges differ: it's a parametrizable type.
the nature of their unrelatedness is likely to cause the the maintenance programmer to modify the validation routine
That's just silly and backwards; the kind of tunnel vision resulting from your insistence on validating inside the accessor. If I want to store strings in a property formerly declared as an integer, I'll change the type declaration for the property, not the definition of an integer.
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^21: Assignable Subroutines (tunnel of fudge)
by tye (Sage) on Jan 27, 2005 at 18:56 UTC | |
by Aristotle (Chancellor) on Jan 27, 2005 at 19:14 UTC | |
|
Re^21: Assignable Subroutines
by BrowserUk (Patriarch) on Jan 27, 2005 at 18:58 UTC | |
by tye (Sage) on Jan 27, 2005 at 19:08 UTC | |
by Aristotle (Chancellor) on Jan 27, 2005 at 19:30 UTC | |
by BrowserUk (Patriarch) on Jan 27, 2005 at 19:51 UTC | |
by Aristotle (Chancellor) on Jan 27, 2005 at 20:04 UTC |