Post Reply 
video on the birth of BASIC
02-26-2019, 02:01 AM
Post: #3
RE: video on the birth of BASIC
(02-26-2019 12:32 AM)Thomas Okken Wrote:  ALGOL provided good ideas for what eventually became C, but it also had significant complexity for a compiler writer, because of two features in particular, call-by-name and nested functions.

Scala has both: by-name parameters and nested methods.

Quote:Thinking back, I find myself thinking, who could ever have thought those features were a good idea? Pascal dropped the former and C also the latter, and nobody misses them, I'm sure, but they were the result of the language being designed by mathematicians.

Coming from Pascal (and Modula-2) I missed nested functions when I started to learn C++.
Why would you have to clutter the namespace with a local function?

Cheers
Nobody
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
video on the birth of BASIC - Don Shepherd - 02-25-2019, 03:50 PM
RE: video on the birth of BASIC - Thomas Klemm - 02-26-2019 02:01 AM
RE: video on the birth of BASIC - ijabbott - 02-26-2019, 08:44 AM
RE: video on the birth of BASIC - ijabbott - 02-28-2019, 12:01 AM
RE: video on the birth of BASIC - KeithB - 02-26-2019, 04:30 PM
RE: video on the birth of BASIC - Namir - 02-26-2019, 12:38 PM
RE: video on the birth of BASIC - BruceH - 02-28-2019, 09:00 PM



User(s) browsing this thread: 5 Guest(s)