• owen@lemmy.ca
    link
    fedilink
    arrow-up
    28
    ·
    8 months ago

    This is awesome. Rust wearing full plate armor to dinner is hilarious… Also what’s up with Scala? lmao

    • marcos@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      8 months ago

      Well, obviously she was already in full plate armor when her friends called, so why take it out?

    • tatterdemalion
      link
      fedilink
      arrow-up
      8
      ·
      8 months ago

      I assume Scala is like a “gateway” (drug) to functional programming by way of also supporting imperative and object oriented paradigms.

      • BatmanAoD
        link
        fedilink
        arrow-up
        3
        ·
        8 months ago

        Probably more importantly, it runs on the JVM and is designed to interoperate with existing Java code. (FWIW, I actually think they made a major mistake in how they handle null Java objects, and that Kotlin did better here; but Kotlin is much newer.)

  • Haus@kbin.social
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    8 months ago

    My experience in going from C to C++ was different: if you’re not converting everything from mallocs with custom addressing systems to the collections framework, you’re not living.

    • Jajcus@kbin.social
      link
      fedilink
      arrow-up
      10
      ·
      8 months ago

      My experience with C++ was when C++ was a relatively new thing. Practically the only notable feature provided by the standard library, was that unholy abuse of bit shift operators for I/O. No standard collections or any other data types.

      And every compiler would consider something else a valid C++ code or interpret the same code differently.

      I am little bit prejudiced since then… and that is probably where the author is coming from too.

      Then things were just getting more complicated (templates and other new syntax quirks), to fill the holes in attempts to make C a ‘high level language’.

        • xmunk@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          8 months ago

          It’s a syntax sugaring and it reads pretty well in my eyes - it’s really obvious what is meant by that syntax.

  • tatterdemalion
    link
    fedilink
    arrow-up
    8
    ·
    8 months ago

    Erlang really is the necromancer’s language.

    Why is Swift… like that?

    • xmunk@sh.itjust.works
      link
      fedilink
      arrow-up
      9
      ·
      8 months ago

      Java is extremely widespread in corporate companies - hence the suit and tie. Perl is fair to liken to spelunking deep into a dark cave with only your wits to save you.

      PHP seems to be a reference to the fact that it’s extremely common on servers… but it also might be a lazy phpbad joke - it’s pretty weak either way (if you wanted to play into the server characteristic give it a dozen arms serving the entire restaurant in the background).

      • frezik@midwest.social
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        8 months ago

        As a Perl dev, I dunno if that’s how I’d characterize the language, but I’ll take it over yet another “Perl is unreadable line noise lol and what’s the deal with airline food” reference.

        • xmunk@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          8 months ago

          Yeah, to be honest you can write good code in any language and it’ll usually look pretty similar… all the perl stereotypes come from having to maintain shell scripts from someone kludging their way through learning to code… it’s the same reason why phpbad, amateurs could get into webdev with php so there’s an impression that all php is the php written by amateurs.

          Also, bear in mind that over time these languages have converged through feature additions “LISP has functional programming - why can’t PHP have first class functions… oh traits look neat, let’s add that… you know those statically typed languages sure seem nice…”

    • AMDIsOurLord@lemmy.ml
      link
      fedilink
      arrow-up
      25
      ·
      8 months ago

      Purely functional programming is a pathway to many abilities OOP devs consider to be… Unnatural

    • noddy@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      8 months ago

      IMO the ackchyually guy would be a better fit for Haskell. “Ackchyually monad is a monoid in the category of endofunctors!”