• boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    21
    arrow-down
    5
    ·
    5 months ago

    Programming Languages today: Rust, Go, Typescript

    Programming Languages back then: C, B, C#, C++

    LOL

    • intelisense@lemm.ee
      link
      fedilink
      arrow-up
      22
      ·
      5 months ago

      C# is much more recent than C/BCPL etc. What’s interesting, though, is how many of C these more modern languages are inspired by C. C is also very much still in use!

      • LeFantome@programming.dev
        link
        fedilink
        arrow-up
        11
        ·
        5 months ago

        The name C++ is an inside joke as ++ is the C language increment operator, meant to imply that C++ is an improvement on C.

        I have heard several times that the name C# was meant to look like the ++ had been added again to the name C++. The syntax of C# was chosen to be familiar to programmers that knew C++.

        If we are saying old languages use letters for names and that newer ones use words, it is worth noting that C# was also heavily inspired by Java, which came first. Both Java and JavaScript are from 1995 ( iolder than C# ).

        In the grand scheme, Go is not much newer than C#. Go is from 2009 and C# is from 2000. That might seem like a lot but Go was intended as an alternative to C which is from 1972.

        C got its name as a progression over B, which started the whole single letter thing, but C syntax was chosen to look like ALGOL ( 1958 ). So we have to blame ALGOL for the look of C, C++, Java, C#, JavaScript, and even Rust.

        Two of the oldest languages as FORTRAN and Lisp. Language names were often abbreviations ( such as FORmula TRANslation for FORTRAN ). Lisp was originally LISP ( list processing ) but the name Lisp, from 1960, fits right in with Go and Rust I would say.

        The trend is certainly towards more whimsical names though. An early name for C was NB which stood for “New B”. If it were named like we do today, maybe it would have been called “Newbie” or some synonym of that. I kind of like Punk.