× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 2018-02-05 11:21 PM, John Yeung wrote:
On Mon, Feb 5, 2018 at 9:09 PM, Mark Murphy <jmarkmurphy@xxxxxxxxx> wrote:
Very few languages support nested procedures. PL/I anyone?

I disagree with this characterization. It's common in scripting
languages such as JavaScript, Python, Ruby, Perl, PHP, and Lua.

Among "traditional" compiled languages there is pretty much the whole
ALGOL family, including Pascal and Ada.


Pascal was the language taught in my first computing course, so the concept of nested procedures has always seemed normal to me.

I recall trying to find out how to code a nested function in C when I first encountered it. That frustrating experience is is stored in the same place in my memory as my attempts to create a library within a library when I first encountered the AS/400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.