The name of that hack? Java Script

  • invalidusernamelol [he/him]@hexbear.net
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 day ago

    As someone who’s never really had to use JS for anything, man is it a messy language. I use Python mostly which has its issues, but if at least has the capability of being pretty robust if you care.

    I do wish that Java wasn’t the zeitgeist and the scheme style language was used instead…

    • darkmode [comrade/them]@hexbear.net
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      1 day ago

      JS has moved in the functional language direction for at least the last decade modern JS is more scheme-like than Java-like tbh. the class abstraction doesn’t even work the same way in JS than it does in say java or C#

      • invalidusernamelol [he/him]@hexbear.net
        link
        fedilink
        English
        arrow-up
        3
        ·
        19 hours ago

        Oh I know, it’s just the syntax part that would be nice. Lisp syntax is great for highly functional stuff whereas it feels kinda forced in JS.

        Like I said I mostly use Python, so “functional” to me is a comprehension statement (which I think is great syntax), but that type of thing just flows better with syntax specifically designed for it.