*** Notes, Research and Discussion on Rounding Payment Escalation *** * For the type of annuity product that McKellar sells (from various insurance companies), different companies use * different methods to determine the next year's value of a payment if it is incremented year over year e.g. * if someone receives a $500.00 payment in the first year and it is escalated by 3% for the second year, the * second year's payment value would be $515.00. * The problem of how to round this increased value year after year has come up because different companies do * their rounding differently from year to year. The differences between the companies are of two types:5) a "heading" comment for a large block of code just to make finding it easier when scrolling down. Example is from a long bit of code with sections on what is being validated. I start and end with 3 asterisks e.g.
*** Alerting If Any Nag Fields *** * this one is going to be fine-tuned a bit: we now track if the user has been "nagged" for any needed fields during...In short, business logic not documented elsewhere, CYA stuff, dead-ends, headers to speed things up and then what Tamar and Greg talked about, comments to give a hint of what is happening next. Overall, I think it is a lot faster to understand some long ago created code than to have to figure out what is going on (other than the trivial stuff).