🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.modula2
1 messages
1 total messages Started by CASHEN.SBDERX Wed, 11 Feb 1987 12:36
Re: Exceptions & single output
#3609
Author: CASHEN.SBDERX
Date: Wed, 11 Feb 1987 12:36
32 lines
2186 bytes
REF:
Then why did he include multiple RETURN's for function procedures
and  why did he include multiple EXIT's from LOOP's????

My (Exceptional) opinion is:

Designing a programming language is in some respects a compromise on the
ideal. According to my knowledge of "Structured Programming" (zero or
otherwise?) one of the requirements or ideals is to provide fundamental
function definitions. This I believe to mean that, if one uses something
like a "Top Down" design methodology then the ultimate goal is to
produce a Procedure or Function declaration which performs only one
unique function. This Procedure or Function would have one entry point
(Procedure Call) and one exit point (Return). In my coding experience
(yes I do have some) I have defined single Procedures to perform more
than one function and also introduced multiple exit points in the guise
of expedience but in the strictest sense, that is not structured
programming. I can only guess that such facilities are included in
(structured?) languages like Modula-2 to enhance the armoury of the
programmer. As to why exception handlers were not also included I can
only presume it is because of flow control considerations (go from
whence you came...) etc.
    Even so I can only offer my opinion and I don't want to be the one,
to state what was in the mind of Ravel or Monet when they produced their
greatest pieces. As a viewer I can only offer my impression. Short of
asking the famed Mr.W. why he did or did not include Exception handlers
I think we are stuck....
    In the mean time, please refer all Exocets and IBM's to chiefly
myself for future digestion. 
     
    Mike.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads