11 ms·
An opinionated history of programming languages
- hdjdbtbgwjsn 6y agoSome thoughts. Fortran (especially modern Fortran) is quite well designed. PHP seems to be missing.
- UncleOxidant 6y agoMaybe my color perception is off, but it looks like Python is considered a root language with no significant predecessors. Which doesn't seem correct - Python wasn't so novel that it introduced new programming paradigms. Also, no asterisk (modern, mature compiler & runtime) for OCaml?
- smitty1e 6y agoThe arrows showed descent from C and Perl.
- UncleOxidant 6y agoBut the color (black) in the legend indicates no significant predecessors.
- macintux 6y agoThat only applies to the bolded languages. A bit confusing.
- kens 6y ago> Maybe my color perception is off It's interesting to see this article on the front page at the same time as the Color Blindness article [1] discussing the difficulty of distinguishing tiny color spots. I'm not color blind, but I needed to zoom in on the first figure to see the difference between the red dot and the other red dot. Not to mention the black dot, the dark green dot that looks black at a distance, and the black dot that's actually an asterisk. Now I understand why these are so hard to distinguish. [1] https://news.ycombinator.com/item?id=24672463 https://news.ycombinator.com/item?id=24672463
- ncmncm 6y agoListening to OCaml users, you would never get any impression that its toolchain was mature.
- nathell 6y agoThe author marked Clojure as a "dying language". I'd be interested to find out the metric by which this is true. In my experience, it is very much alive and thriving.
- jolux 6y agoIs the language community net growing or shrinking though? A language can be very alive and still not be experiencing tremendous growth.
- nur0n 6y agoCan you elaborate on your experience? I have great respect for Rich Hickey and I recently saw a cool talk about a financial startup using Clojure in production [1]. I have kept track of the language for some time but have never had the chance to use it in any serious capacity. [1] https://www.youtube.com/watch?v=fnediEWRuyI https://www.youtube.com/watch?v=fnediEWRuyI
- jolux 6y agoI think it’s a great language and a good community but I think some of the opposition to static types from Rich Hickey at the top is silly and I also find it genuinely harder to use languages which aren’t gaining wider traction after being around for over ten years.
- smitty1e 6y agoInteresting thoughts. I wanted the columns in the graph to mean something, perhaps as a spectrum from functional to object-oriented, but that wasn't the author's intent.
- register 6y agoRuby is dying and Perl is not?? I guess this is "really" opinionated...
- smitty1e 6y agoFor that matter, PHP is conspicuously absent, for all I'm no fan.
- segfaultbuserr 6y agoIf PHP is included, it should be colored red ("Unlikely to influence anything in the future, due to remarkably poor design") as well... If the author already classifies Go, JavaScript, or even time-tested FORTRAN and Java into this category, it's all but fair to include PHP. On the other hand, unlike the popular beliefs, the author doesn't consider Perl to be the case here? Anyway, interesting opinion.
- AnimalMuppet 6y agoSeems to me that Java is likely to influence things in the future, if for no other reason than because people seem to like creating languages that run in the JVM, and the libraries (if nothing else) then influence the new language.
- ncmncm 6y agoOne of those would need to survive. Kotlin could, conceivably.
- hdjdbtbgwjsn 6y agoWhilst I've worked with older PHP which was indeed awful. The modern stuff is quite OK. PHP has drifted into a decent design recently. I hope that any future language designer will take PHP as a case study of incremental improvement.
- thelazydogsback 6y agoSeems like some tree-roots are missing -- Algol??! PL/(I/M)? B(CPL)? Snobol? APL? Simula? Link between Smalltalk and C++?
- tpmx 6y agoSeems like most of the interesting history is missing, perhaps because it happened before the author was born.
- tpmx 6y agoI bought this from Amazon UK like 22 years ago. (Should have bought Amazon stock instead ..) https://www.amazon.com/History-Programming-Languages-Thomas-Bergin/dp/0201895021 https://www.amazon.com/History-Programming-Languages-Thomas-... It's one those books I return to, every few years. Recommended. Maybe the papers are available online somewhere by now?
- ncmncm 6y agoThe author seems to have restricted the entries to languages still taught and used, but missed COBOL and maybe C#. I can't really blame him, in either case.
- hdjdbtbgwjsn 6y agoHe also missed PHP...
- notacoward 6y agoVisual Basic, Swift, and even Scratch also rank higher on usage lists than some of those that are on the chart. Chapel is likely to be more influential. The "limited to languages being taught or used" excuse is super thin.
- Rochus 6y agoWhy should there be a link between C++ and Smalltalk?
- bhaak 6y agoWhat interesting opinions. Rust not being a candidate for designing a future language? But C++ being a candidate for designing a future language? Go having remarkably poor design? Ruby dying, but Python and Perl not? I would really like to have a rationale for those decisions. It would be interesting to see how you can come to this conclusions.
- blandflakes 6y agoI would have thought that at least half of your opinions were unexpected: Go's design is at the very least controversial and considered poor by a vocal subset of the hackernews and programming community. Python is decidedly not dying... it's still the dominating game in town for ML and data science. I'm surprised anybody would posit that Python were dying. Perl definitely feels like it should be in Ruby's camp.
- listenallyall 6y agoPython is still vital and thriving but I wouldn't be surprised if its market share is declining (slowly). As you say, it's dominant for data science... but recently it and R were the only practical choices... now other languages (Julia, for example) are valid options. The development of alternative Jupyter (formerly IPython) kernels has accelerated adoption of other languages. Similarly, a few years back it seemed like Flask and Django were vastly dominant frameworks for building APIs, now similar frameworks exist in tons of languages. None of this is to imply that Python is anywhere close to dead, but my personal opinion is that "peak Python" is behind us.
- blandflakes 6y agoI want this to be true, by the way. As I mention in some other comment, I think Python is rather mediocre as an actual language for building software. Its appeal cannot be denied, but a majority of my peers would really like to use a language that has its tooling shit together. Python is the only language I've had to deploy that makes me understand why anybody would want to use containers.
- teddyh 6y agoIn a recent talk, Robert Martin summarizes the history of programming languages for about 35 minutes, starting here: https://www.youtube.com/watch?v=ya1xDCCMh7g#t=2m47s https://www.youtube.com/watch?v=ya1xDCCMh7g#t=2m47s
- presentation 6y agoCool video, I like his rundown of the major programming paradigms. I'd love to show this to some beginners I know - though perhaps with some light explanation of the some of the low-level jargon he uses, as the bootcamps and tutorials out there these days don't really explain things from first principles like that anymore.
- benibela 6y agoThere is a severe lack of Pascal
- jtolmar 6y agoThematically related: A brief, incomplete, and mostly wrong history of programming languages (2009) http://james-iry.blogspot.com/2009/05/brief-incomplete-and-mostly-wrong.html http://james-iry.blogspot.com/2009/05/brief-incomplete-and-m...
- lalaithion 6y agoThe problem with any of these directed-graph based "histories of programming languages" is that they ignore the fact that languages change. Sure, neither Haskell nor Ocaml are descendants of the other, but features in one have inspired features in the other countless times, making both languages better. The same goes for Ruby and Python, Java and many of the other languages on this chart and not on this chart, and more generally, all languages. Java introduced generics in 2004. Python introduced garbage collection in 2000.
- bhaak 6y agoThe author addresses that further down on the page: "The diagram only shows influences in the original language design, not influences absorbed through the evolution of the language." If you only are interested in "programming language design" this is not a bad idea. Changes and additions to a language often don't fit well into a language's overall design.
- ncmncm 6y agoIndeed, current C++ is strongly influenced by the MLs. But after 1985.
- lalaithion 6y agoAnyone care to explain what template <size_t i, typename... Ts, typename CurTy> void recurseFillChildren(CurTy &E) { using PackTy = std::variant<Ts...>; using TyL = std::variant_alternative_t<i - 1, PackTy>; static_assert(std::is_same_v<CurTy, TyL>); using TyR = std::variant_alternative_t<i, PackTy>; for (i32 j = 0; j < E.NChildren; ++j) { E.Children.push_back(miniParser<TyR>()); if constexpr (i + 1 < sizeof...(Ts)) recurseFillChildren<i + 1, Ts...>(E.Children.back()); } }; does, and why it can't be translated into Rust?
- UncleOxidant 6y agoI used to know C++. But not sure what's happening here.
- aninteger 6y agoThis is me too and sometimes I feel like the language is going in two directions. The academic / scholar path where people show off unreadable C++ like this and the business path where professionals that use a subset of the language (mandated by corporate code base or teams) that are competent C++ developers but maybe not writing this complicated C++.
- renox 6y agoI work in telecoms and 'template like this' show up from time to time sometimes for reasonable reasons, sometimes for 'optimisations' reasons which are not backed by figures (some programmers like to show off).
- stephc_int13 6y agoTemplates, in my opinion, are often extremely hard to read, not unlike Perl in its time. And I will always prefer more verbose code that I can read, understand and maintain.
- steveklabnik 6y agoThis is a "non-type template parameter," that is, it's generic over that size_t i. Rust cannot yet do this. This is "const generics" in Rust speak.
- danielandrews43 6y agoA fun coffee table book on a bunch of different programming langauges https://hellobook.io/ https://hellobook.io/
- _ph_ 6y agoThe graph is missing the complete hierarchy of the Wirth languages. A very important part of programming language history. They influenced many languages and of course are a direct predecessor to Go. While Go has mostly a C-style syntax, in my opinion, it is otherwise closely based on Oberon.
- notacoward 6y agoAlso missing is Ada from that same lineage, the entire category of concatenative languages (with Forth the best known example), COBOL, SNOBOL/Icon, BASIC, APL, PHP, Racket, etc. It's laughably incomplete, not a history at all, and "opinionated" is a severe understatement. Was not at all surprised to see that the author's still a student specializing in Coq and similar things. Experience building actual complex systems whose users aren't computer scientists might have led to a broader perspective and a very different set of opinions.
- ncmncm 6y agoThose other languages are interesting today only insofar as they have affected currently important languages. The exception is COBOL, which is still important in the way FORTRAN and Java are, but similarly will not affect future languages.
- notacoward 6y ago> only insofar as they have affected currently important languages If this is meant to be any kind of history, that would seem to be grounds for inclusion. After all, Bourne Shell gets a spot, even though it's not actually a language and hasn't influenced any other language to any significant degree (unless you consider Tcl and even that's a big stretch). It seems like many things were included merely as excuses to express like or dislike, without any regard for historical importance or relevance. The fact that it favors C++ over alternatives might please some, but doesn't make it a good article.
- ncmncm 6y ago
- ncmncm 6y agoI came prepared for a faddish take on the froth of momentarily popular languages, and found instead a forward-looking, grounded assessment. I hope Rust doesn't fade out, but honestly cannot expect otherwise. C++ has long needed serious competition, but has not had any.
- blippage 6y agoWhy did Haskell wane? IMO, it's partly the ecosystem. There's regular Haskell, Haskell Platform, Cabal, Stack. It ends up being an alphabet soup of possibilities, and it's not clear what is depending on what. And then there's monads, which are stumbling blocks. State is allegedly the root of all evil. But I think the argument needs to be more nuanced than that: yes, state is difficult to reason about globally, but it's usually not so bad locally in small functions. I think that this is what Rust gets wrong. It goes down the "state is evil" road, but there's really not that much wrong with the judicious use of mutated values. If you really want to avoid mutability, then you're really going to need monads, something which seems a bad fit for Rust (based on what I see in Hackers News). At the end of the day: fuggit, just use C++. It's fast, you can point in references to vars, and if you don't want them mutated, just make them const. That's the conclusion I drew a few years ago. As Alan Kay might put it, most new languages are in the "pink plane": they're incremental improvements (sometimes a step back) on old ideas, and sometimes just inferior rehashes of them. None of them are what he calls "blue plane": revolutionary new ideas. Kay seems to admire Erlang, though. What it brings to the table is the notion that a program can crash, and recover from it. That might be a "blue plane" idea. I also assume he thinks Scratch is a blue plane idea; even though strictly speaking graphical languages are not new. When I saw Ada couple of weeks ago, I noticed that it had the notion of tasks as a language primitive. I wonder if he'd consider that sufficiently blue plane.
- ncmncm 6y agoWaning is the natural course for any language. It takes a Miracle to avoid that fate. COBOL, FORTRAN, C, C++, Java, Javascript (and maybe Python?) each got a Miracle. Other languages didn't. Go and/or Rust might get one, but odds don't favor it. Miracles are not awarded on merit, so when a language that got one is usable, it's like another miracle.
- unrealhoang 6y agoI think your view of Rust is quite off. How is Rust view "state is evil"? At its core, Rust is very imperative and procedural. Global reasoning about state is hard, hence the assistance from borrow checker. Locally mutating local state in small function? Put a reference to vars, if you want them to be mutated, just make them mut. It's also as fast. In a way, Rust does better job of localize/encapsulate mutation than functional/monad world.
- cannabis_sam 6y agoThis isn’t “opinionated”, it’s biased and poorly researched..
- forgotpwd16 6y agoIt seems opinionated is frequently used as synonym to poorly researched nowadays.
- adenozine 6y agoI see a lot of users forgetting that it's an opinionated history. The author hasn't claimed to make this exhaustive. Further, it's a bit counterproductive to just point out f"Hey, what about {some_lang}?" Wikipedia has a decent resource to start, if you'd care to take a journey into computation notation history :) https://en.wikipedia.org/wiki/History_of_programming_languages https://en.wikipedia.org/wiki/History_of_programming_languag... My own nitpick, to throw in the mix: The asterisk marks languages with ~sophisticated~ compilers, and I think that Ocaml being on the chart without one is absolutely ridiculous and shameful. But who cares. It's just some guy's opinion as a chart.
- jolux 6y agoAnd Haskell, for that matter.
- devmunchies 6y agoI’ve been learning ocaml for a few weeks. what makes the compiler sophisticated?
- adenozine 6y ago20+ years of some of the best researchers in the world? It's been absolutely pummeled into stability by thousands of industrial use cases? It's also like, STUPID fast. Try finding a large ocaml project, any will do, and see how fast it compiles. Someone with more time and know-how could give a more technical testimony as to just exactly how badass ocaml actually is.
- nestorD 6y agoIt is fast while having the best type inference capacities I ever saw in a programming language: you can spend years in a static language without ever writting a type (my one exception is deserialization which makes sense).
- _ph_ 6y agoLabeling something as "opinionated" shouldn't be an exception to fact checking and discussion. Unfortunately, the term "opinionated" and often alsoe "opinion" is used exactly like that. This makes this term a huge red flag for me. I am perfectly fine, if people take a controversial point of view, especially when entering a discussion. But then this should be the starting point for a discussion, not the ending point.
- jeremyjh 6y ago> The reason GHC didn't just turn on all flags by default is that many of them are mutually incompatible, so your individual .hs file has to pick a compatible set of language features it wants to work with. This is profoundly untrue. Its not an opinion, its simply wrong. Other things said about Haskell, such as "memory leaks are difficult to debug" is the type of thing you hear people repeating a lot but I experienced very little of. Pretty much every language has flaws that are a bigger issue and cost more wasted time than that.
- nielsbot 6y agoSeems like a good place to share a link to this poster which shows a comprehensive family tree of programming languages through 2003 or so. https://www.cs.toronto.edu/~gpenn/csc324/PLhistory.pdf https://www.cs.toronto.edu/~gpenn/csc324/PLhistory.pdf O'Reilly's History of Programming Languages
- coldtea 6y agoOpinionated or not, no Algol?
- etherio 6y agoWhich functional programming languages have managed to build a solid user base? What language would you recommend to someone trying to get into FP? I was considering Haskell but don't know enough about the ecosystem to make an educated choice for the language.
- dehrmann 6y agoOne takeaway is the only sane choices for a new, large project where you expect a mature ecosystem and performance are C, C++, Java, Erlang, and Javascript (but probably not Javascript).
- dehrmann 6y agoBourne Shell is the worst language people actually need to learn. At least PHP is a choice.
- int_19h 6y agoPOSIX makefiles is another.
- dpc_pw 6y agoNothing but a flamewar tinder. :D
- eguanlao 6y agoRuby has influenced https://crystal-lang.org/ https://crystal-lang.org/.
- TeMPOraL 6y agoI know it's an opinionated history, but you may want to draw an arrow from LISP or Common Lisp towards C++, as a good chunk of STL is based on Lisp concepts (and I'm pretty sure I've seen this mentioned explicitly in one of Meyers' books).
- lispm 6y agoC++ as a language has very little influence from Lisp. I would draw an arrow from Lisp to ML, since FP, GC, list processing etc. came from Lisp - ML was even implemented in Lisp and used the runtime.
- bicepjai 6y agoThis was an interesting talk on languages https://youtu.be/QyJZzq0v7Z4 https://youtu.be/QyJZzq0v7Z4
- sriku 6y agoHOPL by Diarmuid Pigott (https://hopl.info/home.prx https://hopl.info/home.prx) is a pretty thorough picture of a vast number of programming languages (8945 of them).
- tpoacher 6y ago"FORTRAN: Unlikely to influence anything in the future due to remarkably poor design". Stops reading there
- hansvs 6y agoThat made me chuckle, I still work on Fortran applications. Some were written in the 70s/80s, but maybe that just means the industries I've worked in are a bit _inflexible_?
- ncmncm 6y agoWhat lessons would you say are left to be drawn from Fortran?
- TheRealKing 6y agoThose lessons that C++20 is still learning from Fortran
- TheRealKing 6y ago"FORTRAN: Unlikely to influence anything in the future due to remarkably poor design" I guess the author of this sentence likely does not know anything about Fortran. They do not even know that the language has NOT been called FORTRAN for more than 3 decades. They do not even know about the latest release of Fortran in 2018. They are at best showcasing your ignorance and bias, by not providing any arguments as to why people should take their comments and advice seriously.
- appstorelottery 6y agoI wonder where BASIC would fit into this chart? Anyone care to enlighten an old basic programmer? It was my first language maybe 30+ years ago when I was a kid...
- appstorelottery 6y ago(and I've hidden the shame ever since lol) Assembly was cool back in the day Z80, 68000... then C, but I felt too stupid to learn that stuff when I was a kid. Ugh. ;-)
- int_19h 6y agoIt would be heavily influenced by Fortran, but I don't think it heavily influenced anything else.
- TheRealKing 6y ago"FORTRAN: Unlikely to influence anything in the future due to remarkably poor design" I guess the author of this sentence likely does not know anything about Fortran. They do not even know that the language has NOT been called FORTRAN for more than 3 decades. They do not even know about the latest release of Fortran in 2018. They are at best showcasing your ignorance and bias, by not providing any arguments as to why people should take their comments and advice seriously.
- TheRealKing 6y agoFortran has already made its influence on several major languages, including C and Python. The nice concept of modules that you see in Python (that C++ has just decided to add to the language in year 2020), has existed in Fortran ever since free-format Fortran came to existence, decades ago.