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.

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon

In reply to Re^3: Problem Domains and Multiple Disciplines by BrowserUk
in thread Problem Domains and Multiple Disciplines by Velaki

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":