[Tutor] Structure Theorem and OOProgramming

Kojo Idrissa kojo@hal-pc.org
Mon, 27 May 2002 00:09:30 -0500


--=====================_7902573==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Ok, here's question about approaches to programming.

I've read a bit about the Structured Programming Language Paradigm/ 
Structure Theorem (Any computer program can be built up by combing three 
fundamental constructs [Sequence/Selection/Repetition] in various 
ways).  It seems like a good way to introduce a couple of friends who are 
new to programming to the idea of how to program.

My question is, does this Paradigm/Theorem only map well to "procedural" 
languages, or will it work well with an OO approach as well?  I can see all 
three of the constructs in Python, and it seems that in Python you'd be 
putting those constructs to work on Objects, but I'm no expert.  I don't 
want to get a friend started down a "limited" path, or give them bad info 
at the beginning.  I'm sure they'll both want to work in OO languages over 
the longer term.

Let me know what you think,

****************************
Kojo Idrissa

kojo@hal-pc.org
http://www.hal-pc.org/~kojo/
****************************
--=====================_7902573==_.ALT
Content-Type: text/html; charset="us-ascii"

<html>
Ok, here's question about approaches to programming.<br><br>
I've read a bit about the Structured Programming Language Paradigm/
Structure Theorem (Any computer program can be built up by combing three
fundamental constructs [Sequence/Selection/Repetition] in various
ways).&nbsp; It seems like a good way to introduce a couple of friends
who are new to programming to the idea of <b>how</b> to 
program.<br><br>
My question is, does this Paradigm/Theorem only map well to
&quot;procedural&quot; languages, or will it work well with an OO
approach as well?&nbsp; I can see all three of the constructs in Python,
and it seems that in Python you'd be putting those constructs to work on
Objects, but I'm no expert.&nbsp; I don't want to get a friend started
down a &quot;limited&quot; path, or give them bad info at the
beginning.&nbsp; I'm sure they'll both want to work in OO languages over
the longer term.<br><br>
Let me know what you think,<br>
<x-sigsep><p></x-sigsep>
**************************** <br>
Kojo Idrissa <br>
&nbsp; <br>
kojo@hal-pc.org<br>
<a href="http://www.hal-pc.org/~kojo/" eudora="autourl">http://www.hal-pc.org/~kojo/<br>
</a>****************************</html>

--=====================_7902573==_.ALT--