I think Hungarian Notation is a workaround for
poor programming practices.
1) Code is not properly modularized.
If you only have to work with a handful of variables
at a time, it's much easier to keep track of them.
(This is especially true in a typed enviornment
where the variable's declaration is not far from
the place where it's being used.)
2) Nondescript variable names.
"intItems" (and especially "iItems") isn't much
more meaningful to me than "items", but
"numberOfItems" tells me exactly what the
variable represents, and the fact that it's
an integer can be inferred.
3) Little or no documentation.
One comment and the type is documented for every
single use. Isn't that preferable to documenting
the type every single time you use the variable?
If you're using fusedocs (and you should be) it's
already taken care of.
Patrick
----------------------------------
Patrick McElhaney <><
Intranet / Web Site Developer
American City Business Journals
704-973-1019 704-236-8351 (cell)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists