• vermaterc@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    2 days ago

    Object oriented languages can be either class based or prototype based. Java is class based, JS was back then prototype based

    • thingsiplay@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      Thanks, I see. I’ll research and learn more about the differences. Thought this was an writing error and didn’t research yet.

      • vermaterc@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        I mean: it is a writing error, because you can’t compare “class based” to OOP, since they are just different things, but this is what is suspect was the case ;)