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
    arrow-up
    13
    ·
    edit-2
    7 months 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
      arrow-up
      12
      ·
      7 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
        7 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
          ·
          7 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
            6
            ·
            7 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.