• CanadaPlus@futurology.today
    cake
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    12
    ·
    edit-2
    1 year ago

    I’ll admit I don’t really know the history of the language between then and now. Please don’t tell me the crazy stuff was somehow added later.

    • Kayn@dormi.zone
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      1 year ago

      If you don’t know the history, why are you so confidently talking about JavaScript being built in 2 weeks?

      • CanadaPlus@futurology.today
        cake
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        2
        ·
        edit-2
        1 year ago

        I’m familiar with the early history, I’ve dabbled in it in modern times, and of course I’ve seen all the ways it’s bad memed about ad-infinitum (and have to agree).

        I didn’t really think I had to be able to write a book on it to say it doesn’t deserve the use it gets, and I don’t think it’s outrageous to imagine that there’s a connection with the hasty genesis. So, I mentioned that off-hand. If it’s actually unconnected my bad.

        • Kayn@dormi.zone
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          edit-2
          1 year ago

          The memes are annoying because most of the complaints are superficial.

          “Look, "b" + "a" + +"a" + "a" outputs "baNaNa"! JavaScript bad!” Yeah, that’s what happens. Just don’t do that thing that obviously doesn’t look right. Don’t use var, just like every modern JavaScript learning resource will tell you. Don’t use == if you don’t intend for type coercing to happen.

          If you don’t write bad code on purpose, JavaScript is fine.

          • CanadaPlus@futurology.today
            cake
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            1
            ·
            1 year ago

            If coding teaches you anything well, there’s no bound to the different ways you can screw up. Don’t use bad languages on purpose.