# loop in 'for' mode
for i from 1 to 10 do print(i) od
# ...and in 'while' mode
while i < 10 do print(i); i := i + 1; od
# ...and in both!
for i from 1 to 10 while checkWhetherCancelled() do print(i) od
# ...just loop, no counter!
to 10 do print("Ten times!") od
Notice that the email points out all the different things you can do with ALGOL 68 compared to Go. If we were to compare all programming languages this way, wouldn't C++ be the best language ever?
A good language is not a revolutionary one, indeed, but it's kind of depressing that the state of the art is the same as 30-40 years ago, and it sometimes seems that language-designers haven't learned anything.
There's nothing I hate more about a programming language than exceptions to rules. And Go has plenty of those. I understand the pragmatism, but if some people are unhappy with C++ or Java, why make the same mistakes when designing a new one?
I think it's just a sign that computer science is a maturing field. After all, I don't hear civil engineers complaining that the fundamental concepts of building a bridge haven't changed much in the last ~2000 years.
The Algol68G interpreter has installers for for Windows, Fedora, Centos, RHEL, Ubuntu and Debian. And the source tarball will compile on Solaris, BSD and OSX etc.
Site also has stashed within the British DRA's (Defence Research Agency's) Algol68R compiler retooled to generate C. [as algol68toc] (DRA's compiler is actually written in Algol68!!)
Sample Algol68 source code can be found at http://rosettacode.org/wiki/Category:ALGOL_68
enjoy - N
To me at least, this begs a question---where do the great trolls of the Internet go to brag about their exploits? I remember in the golden age of Slashdot one could read "TrollTalk" and see links to the best posts with the most comments trying to misguidedly correct the original troll, most mod points up or down, and so on. (I think it even had a scoring system and a best-of newsletter of sorts.) Where do the great trolls of today hang out and brag about their exploits?
I don't mean just the sort of mediocre trolls who might compare Go to Visual Basic or something, but the sort of highly specialised trolls who might start a fire storm by comparing it to Algol-68. Where does one look to find the Orson Welles of modern technology trolls? Has blogging killed the once fine art of trolling?
And the reality is that these things haven't really changed much. Most of the changes that modern languages bring are in the way of directives to the compiler/interpreter.
The initial release of Fortran had loops and subroutines. But I don't think even they invented those things.
I'm not sure about dynamic allocation.