| Howard Brazee 2006-01-11, 6:55 pm |
| On Wed, 11 Jan 2006 13:37:58 +0100, "Karl Kiesel"
<Karl.Kiesel@fujitsu-siemens.com> wrote:
>
>well, following the rule of thumb, that 10% of a COBOL programs is the
>algorithm and 90% are data validation, error recognition and recovery, at
>least the overflow of the result could be trapped with an on size error
>phrase since the program gives wrong results for any numbers > 11
I second this motion. CoBOL isn't about algorithms. Professional
programming isn't about algorithms.
If you want to show the differences between the languages, make sure
you show the very different ways they have of handling errors. Which
means you need to also include the environment - so that an OO program
tosses a handleable error, or a CoBOL in a batch job displays an error
message and passes a return code.
|