I did it with a computer...in the shape of a calculator:)
I get your point, but unless the constants 100, 101 and 2 have some meaning in context, you've just advocated magic numbers.
A well named constant, that made sense in context, would be preferable.
In reply to Re^3: Problem Domains and Multiple Disciplines
by BrowserUk
in thread Problem Domains and Multiple Disciplines
by Velaki
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |