Stop comparing programming languages

  • Python is versatile
  • JavaScript is powerful
  • Ruby is elegant
  • C is essential
  • C++
  • Java is robust
  • echindod
    link
    fedilink
    arrow-up
    13
    ·
    5 months ago

    Python is powerful because it easily wraps C libraries that do real work! Just kidding mostly.

    But yeah, js isn’t a language I would describe as powerful. Ubiquitous? More capable than you would expect given it’s history? Bloated?

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      5 months ago

      Python is powerful because it easily wraps C libraries that do real work! Just kidding mostly.

      Not kidding. There’s no rule against that though. It’s good at it’s niche.

      • 9point6@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        Does that not put JS (node) back on the table?

        I’d say it’s the low level language doing the heavy lifting, python or JS in this scenario are just front-ends.

        Hell, I think FORTH has C bindings, that’s not power, that’s mental illness

        • CanadaPlus@lemmy.sdf.org
          link
          fedilink
          arrow-up
          7
          ·
          5 months ago

          Sure, but there are good and bad frontends. JavaScript has a tendency to silently fly off the handle in mysterious ways due to the crazy type system. Python will typically fail more predictably, and is famously easy to write. I know nothing about FORTH, honestly.