• @Rin@lemm.ee
    link
    fedilink
    English
    01 month ago

    Java isn’t JavaScript in the same way that Ham isn’t a Hamster.

    • @john89@lemmy.ca
      link
      fedilink
      English
      0
      edit-2
      1 month ago

      Java isn’t Javascript, but that ham analogy is dumb as fuck and I feel bad for anyone who internalizes it after hearing it from someone else.

      • JackbyDev
        link
        fedilink
        English
        01 month ago

        How is it dumb? Ham and hamsters are two totally different things but sound similar. Java and JavaScript are two totally different things but sound similar. It’s a way to immediately explain to a non technical person in a way they can grok.

        • @john89@lemmy.ca
          link
          fedilink
          English
          01 month ago

          It’s dumb because it can’t be reliably extrapolated to other instances.

          It’s perfectly reasonable for someone to think Java and JavaScript are related. It’s not reasonable for people to think ham and hamsters are related.

          This is a result of badly naming something because the ECMAscript creator wanted to ride the coattails of the ‘hot new thing’ at the time, which was Java.

          For example, people shouldn’t immediately doubt whether Godot and GodotScipt are related because Java and Javascript are not. Your hamster analogy falls apart here because it only describes an exception, not a rule.

          • JackbyDev
            link
            fedilink
            English
            01 month ago

            Your hamster analogy falls apart here because it only describes an exception, not a rule.

            It’s not my analogy.

            • @john89@lemmy.ca
              link
              fedilink
              English
              -11 month ago

              Right… if you’re going to split that hair then you’re just proving my point.

              • JackbyDev
                link
                fedilink
                English
                01 month ago

                I’m not splitting a hair, I’m just telling you I don’t feel that strongly about it because I’m not the one who made it. I’d never heard it before.

                • @john89@lemmy.ca
                  link
                  fedilink
                  English
                  -11 month ago

                  I feel bad for anyone who internalizes it after hearing it from someone else.

                  • JackbyDev
                    link
                    fedilink
                    English
                    01 month ago

                    It doesn’t have to be the whole explanation. It’s not like you get a singular sentence to talk to someone lol.