Gabriel Sechan wrote:
Note: to get this absolutely right, use of typedefs is a must.
Actually, typedefs suck. What you really want is to be able to have
multiple incompatible types, all identical to "int". Why would I prefer
typedef int HorizontalPixelCount;
typedef int VerticalPixelCount;
and make it so I could add those two together?
I'll also dispute that your universally-qualified statements about what
data an algorithm uses is more important than the algorithm, simply by
pointing out that essentially *every* filter in Photoshop takes
essentially a bitmap or two as input. If I give you a NetPBM program
that takes an input bitmap, a horizontal pixel count, a vertical pixel
count, and outputs a bitmap, do you have a clue what the algorithm is?
I think your statements are pretty accurate for business programming,
but scientific programming doesn't work that way, methinks.
--
Darren New / San Diego, CA, USA (PST)
It's not feature creep if you put it
at the end and adjust the release date.
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg