Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: Infinite Loops and Explicit Exits
Robert Wagner <spamblocker-robert@wagner.net> wrote

> Structures are needed in non-trivial programs; they are required in
> OO. But explicit qualification is often not necessary. In the context
> of a compiler (as opposed to interpreter), the compile step will fail
> if the name is not unique.

No. That is not true.  There may be duplicate unqualified procedure
(paragraph) names without causing an error.

> I thought that's what prototypes and reflection were for.

You may think a lot of things.
 
>
> The examples I gave were static calls. Any pollution would have been
> reported at compile time.

No. You didn't seem to 'get' what 'pollution' was at the time, nor
understand name-mangling, or why it was used.

It would not have been reported at compile time at all.  If you had
static linked two or more programs together it would have been
reported, the solution then being to change the entry names in the
programs until they were all unique across all programs.  Dynamic
programs may simply have not worked correctly.

Using ENTRY is not scalable at all.

C partly solved the problem with 'static' functions.  C++ solved the
problem with classes allowing 'private' and non-uniqe public names to
be used, even multiple times via namemangling. These, of course, are
qualified by the object name, which is how it should be.

Report this thread to moderator Post Follow-up to this message
Old Post
Richard
11-18-04 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:56 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.