The Mudcat Café TM
Thread #28443   Message #352984
Posted By: Grab
07-Dec-00 - 08:34 AM
Thread Name: BS: Is this comprehensible?
Subject: RE: BS: Is this comprehensible?
A description of the formatting of the I/O might be useful (eg. saying what the "5:2" does for formatting - I guess you're assuming the pay doesn't have to any more accurate than cents, and that they're not paid more than $99999.99 a month). You're also assuming that there are only 5 employees - making this a constant so it can be changed easily might be an idea. And a comment saying the pay structure might be useful - these would be replaced by constants too in a real program.

But you're right, it is a pretty trivial bit of code.

Grab.