To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 21664
21663  |  21665
Subject: 
Re: Are there GOTO statements in NQC?
Newsgroups: 
lugnet.robotics
Date: 
Fri, 21 Nov 2003 03:24:12 GMT
Original-From: 
Jim Choate <ravage@einstein.ssz.com#SayNoToSpam#>
Viewed: 
923 times
  
On Thu, 20 Nov 2003, T. Alexander Popiel wrote:

The use of goto is irrelevant to structured programming; instead,
structured programming is about forming your code to conform to
abstract structures, such as loops, data manipulations, etc.

Um, not exactly. Structured programming is about taking a high level
problem, breaking it down into logically related modules (using as much
reuse as possible) and then breaking those modules down as well, and so
on. It's about being cognizent of not only the structure of the program
but of the data and how it's structured.

There are three levels to all problems/solutions: Strategic, Operational,
Tactical

Strategic in structured programming is understanding the problem to a low
level of detail -in principle-.

Operational is about how one arranges that detail into usable blocks of
code, in other words understanding what the machine and language are
capable of. This level involves the conversion of principle into modules,
routines, sub-routines.

Tactical is the actual writing of the code using structures that are
available in the given language and managing the data conversion this
implies.


-- --

Open Forge, LLC  24/365 Onsite Support for PCs, Networks, & Game Consoles
512-695-4126 (Austin, Tx.)  help@open-forge.com  irc.open-forge.com

Hangar 18  Open Source Distributed Computing Using Plan 9 & Linux
512-451-7087  http://open-forge.org/hangar18  irc.open-forge.org

James Choate  512-451-7087  ravage@ssz.com  jchoate@open-forge.com



Message is in Reply To:
  Re: Are there GOTO statements in NQC?
 
(...) I've been coding since about '81, too. Big deal. (...) Well, yes, by transforming it into a while loop with a state variable representing what would otherwise be the execution counter. While this is a provable transformation, it doesn't (...) (21 years ago, 21-Nov-03, to lugnet.robotics)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR