For Programmers: Free Programming Magazines  


Home > Archive > Cobol > January 2006 > Re: free implementation? factorial?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: free implementation? factorial?
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.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com