Stop comparing programming languages

  • Python is versatile
  • JavaScript is powerful
  • Ruby is elegant
  • C is essential
  • C++
  • Java is robust
  • @odium
    link
    13
    edit-2
    13 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
      link
      1313 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?

      • @[email protected]
        link
        fedilink
        5
        edit-2
        13 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.

        • @[email protected]
          link
          fedilink
          113 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

          • @[email protected]
            link
            fedilink
            713 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.

            • @odium
              link
              213 days ago

              Dw, no one does.