On 4/15/2012 9:49 PM, Jake anderson wrote:
Hi All,
Apology for asking a basic question and Being Ignorant. We know that GO TO
statments are a big "NO" in many production sites and one of the reason
being it monopolizes the entire CPU.
Really? Well, as they say, "It ain't what you know, it's what
you 'know' that ain't so"
Are there any documentation explaining
about the GO TO statements which clearly describes how it effects the
System CPU and performances ?
Apology again if the question is not really sensible or else it requires
more information.
Jake
The root of it all is a paper "Go To Statement Considered Harmful"
by E. Dijkstra; get Ed Yourdon's book "Classics in Software
Engineering"; lots of classic papers in there, including this one.
But the Go To in and of itself does not have a significant effect
on CPU utilization. I guess you could have a problem with:
here.
Go to here.
Don't take anything for granted. Recieved wisdom is often based on
misunderstandings of old folklore.
--
Kind regards,
-Steve Comstock
The Trainer's Friend, Inc.
303-355-2752
http://www.trainersfriend.com
* To get a good Return on your Investment, first make an investment!
+ Training your people is an excellent investment
* Try our tool for calculating your Return On Investment
for training dollars at
http://www.trainersfriend.com/ROI/roi.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN