Signed word lengths and indexes
bearophile
bearophileHUGS at lycos.com
Tue Jun 15 04:30:52 PDT 2010
Steven Schveighoffer:
> i is unsigned, and therefore can never be less than 0. It's actually a
> clever way to do it that I've never thought of.
Clever code is bad. It must be minimized. In some rare situations it becomes useful, but its usage must be seen as a failure of the programmer, that was unable to write not-clever code that does the same things.
Bye,
bearophile
More information about the Digitalmars-d
mailing list