[thelist] ASP: More Selective Select

Kristof Neirynck k.neirynck at belgacom.net
Fri Jul 4 12:43:59 CDT 2003


>>see, in my world, a column called MaxEmployeeSalary has *gotta* be numeric,
>>because it's a Salary field

MaxEmployeeSalary?
that's money right?
must be a number?
would it be an int, long, float or double?
look up a few hundred lines of code?
in the includes maybe?
does it come from a database?

How many times did you waste your precious time like this?

intMaxEmployeeSalary
lngMaxEmployeeSalary
fltMaxEmployeeSalary
dblMaxEmployeeSalary

I've nearly killed a guy for not typing those three letters.
Code needs to be read again later when you have to change it all.


Kristof




More information about the thelist mailing list