4 ms·
The easiest way to update it is to replace those with the closest current equivalents. Fortran = C, Basic = PHP, Cobol = Java, PL/I = Perl, and there is nothin
by btilly 14y ago
The easiest way to update it is to replace those with the closest current equivalents.
Fortran = C, Basic = PHP, Cobol = Java, PL/I = Perl, and there is nothing on the landscape that is really equivalent to APL.
So let me say more about APL.
APL basically started as math notation turned into a programming language. In order to type it you needed a special keyboard for all of the extra symbols you needed. It evolved into an incredibly compact and versatile language, with a well-deserved reputation for being hard to read. In fact the classic challenge among APL programmers is that one would write a program in a single line, and the other would try to figure out what it did!
The Wikipedia article on the language is at http://en.wikipedia.org/wiki/APL_(programming_language) http://en.wikipedia.org/wiki/APL_(programming_language). They offer the following example of an implementation of Conway's game of life in APL:
life←{↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵}
Update: Apparently one or more of my comparisons are offending people. If you'd respond indicating which comparison offends you, I'll explain why I made the comparison.
- eropple 14y agoThe comparisons you've made are flippant ones without much serious weight to them. I didn't downvote you, but, for example, COBOL bears no resemblance to Java beyond "it's used for business applications." Unlike COBOL, Java has a thriving non-business ecosystem and is a suitable tool for a lot of varied tasks. And, perhaps more importantly, it is regarded as such--the opinions held of COBOL at the time do not look remotely similar to the opinions about Java today. I can't speak to PL/I : Perl so I won't try, but FORTRAN : C is likewise unfair. BASIC : PHP is closer, but still denies the credit (yes, there's some) that the PHP language, core library, and community deserve. (EDIT: I will totally agree with you that APL is cool, though. ;-) )
- btilly 14y agoI said closest equivalents, not close. And, in terms of understanding a 1975 comment with 2012 language comparisons, I challenge you to do better. As for Java, it, like COBOL, was intentionally designed from the start to subtly restrict programmers so that large groups could work together on extremely portable programs. Both became popular in lots of "boring business applications" that will live forever. And if you think that current opinions about Java are dissimilar from old opinions about COBOL, you need to get out of your echo chamber and learn what adherents of various scripting languages think about Java. If you're tempted to retort that there are more Java programmers than scripting programmers, and Java programmers like the language, a 1975 COBOL programmer could justifiably have said the same thing. The Perl vs PL/I comparison is not original to me. A bit over a decade ago MJD took a 1967 description of PL/I, did word substitution, and came up with http://perl.plover.com/perl67.html http://perl.plover.com/perl67.html. The description fits - both languages combined several previous ones in an idiosyncratic way, with a strong emphasis on making it easy to get stuff done. The result in both cases was a language which made it easy for "sysadmin types" to solve real problems, with solutions that in time could become problems of their own. The FORTRAN to C comparison is, admittedly, unfair as languages. But both have the characteristic of being low-level languages that are not (by current standards) very expressive, with large established code bases, riddled with repetitive mistakes that cause problems. You admit that BASIC to PHP is better. If you think that I have failed to give the PHP language, core library, and community the full iota of respect that they deserve, then I likewise believe that you fail to give Kemeny and Kurtz full respect for deciding in the early 60s that computing was going to be a universal right, and there needed to be a programming language, for non-programmers, that would let them unleash that potential. And then designing a language that successfully served that purpose for decades.
- MaysonL 14y agoAnd, in terms of understanding a 1975 comment with 2012 language comparisons, I challenge you to do better. How about simply: The web is broken, Windows is almost as bad, Unix is getting awfully long in the tooth, and Javascript is braindead.
- sixbrx 14y agoAnd that productive people continue to get amazing stuff done with all of these technologies, and that starting over from scratch in any of theses areas would be far harder than critics would like to admit.
- pretoriusB 14y ago>The comparisons you've made are flippant ones without much serious weight to them. I find them mighty fine comparisons. He didn't want to convey the same language features -- he wanted to convey languages that draw similar kinds of criticism today and serve similar functions.
- eropple 14y agoSo, none of them? Again, never used PL/I, so I can't roll on that one, but I know guys who have been doing FORTRAN since the seventies and that culture and outlook bears little resemblance to the C community. Java's community is not nearly as buttoned-up and business-centric as COBOL's was (even the oh-so-wise "scripting people" aside); COBOL had literally-literally no other significant use case. And PHP, for all its many warts, is viewed as a language you use to ship products, novice or no. Actual products that people use, no less. The first time I can think of BASIC being readily usable for that was in the nineties. They don't draw similar criticisms at all, unless you take the Djikstra paper literally (and not even Djikstra took the Djikstra paper literally). It's a chance to slag on languages rather than a way to move the conversation forward; he challenged me to make better comparisons and my point is that the number of factors that exist today are so much greater that a comparison will fail. To understand the Djikstra paper you have to understand the languages, not short-circuit a poor comparison. (And I do know all of them except PL/I, which sort of pains me, but...)
- btilly 14y agoThey don't draw similar criticisms at all... I actually have heard similar criticisms to the ones that Dijkstra made of every one of the modern equivalents. For similar reasons. And I believe that my comparison touches on why each of those criticisms is paralleled. I freely admit, though, that the weakest parallel is to Java. Programmers who are not enamored of deep object hierarchies despise those designs when Java programmers try to implement them in any language. But love of deep object hierarchies is not unique to Java (though it does tend to be extreme there). Nor is Java as crippled as COBOL. As for COBOL and other use cases - I would be willing to bet large sums that it would have had many other use cases had the people programming in it had access to computers that could run it for a reasonable price. And finally, I did not post that comparison to slag on languages. I posted it to provide context for Dijkstra's quote. In fact I, personally, have spent a lot of my professional life programming in Perl - which is one of the languages that I offered up for criticism. And I freely admit that the criticism is not entirely unfounded.
- wging 14y ago>there is nothing on the landscape that is really equivalent to APL I beg to differ: http://en.wikipedia.org/wiki/J_(programming_language) http://en.wikipedia.org/wiki/J_(programming_language)
- btilly 14y agoNice one. But it is not widely enough known that just naming it would have clarified Dijkstra's comment about APL.
- draegtun 14y agoJust watched a video about Array programming which mentions APL and J. It also mentioned a couple of interesting facts about Ken Iverson I'd not heard elsewhere: 1 - Iverson originally wanted to call his new language Iverson's Better Math but his company blocked this so he went for A Programming Language (APL) instead. NB. Iverson worked for IBM at the time :) 2 - Iverson passed away at a computer screen. Video was very interesting so posted link on HN: http://news.ycombinator.com/item?id=4931929 http://news.ycombinator.com/item?id=4931929
- charlescearl 14y agoMatlab and R could be seen as inheriting some of the features of APL; at least APL was my first thought after having written my first program in APL as a middle schooler and then done some work in R many years later...
- jcrites 14y ago> APL basically started as math notation turned into a programming language. The same is also true of Lisp. http://en.wikipedia.org/wiki/Lisp_(programming_language) http://en.wikipedia.org/wiki/Lisp_(programming_language) Interesting that a number of languages around this time started as mathematical notations, which someone then realized could be machine-evaluated.
- finnw 14y agofortran = perl. Not because of their domains (which are very different) but because nobody notices that they are evolving, and people still rant about how ugly they are (because it was true of versions that are now 20 years old.)