Stop comparing programming languages

  • Python is versatile
  • JavaScript is powerful
  • Ruby is elegant
  • C is essential
  • C++
  • Java is robust
  • @odium@programming.dev
    link
    fedilink
    12
    edit-2
    16 days ago

    That makes it versatile, not powerful.

    When I hear powerful language, I think of languages that are good at intensive tasks like assembly, c, rust, Python (because of numpy, pandas, pyspark, cuda, etc.).

    • @echindod@programming.dev
      link
      fedilink
      1116 days 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
        5
        edit-2
        16 days 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
          116 days 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
            516 days 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.