• ☆ Yσɠƚԋσʂ ☆OP
    link
    fedilink
    arrow-up
    2
    ·
    6 days ago

    We really do, I find Js is useful cause it’s so ubiquitous, but the language itself is really awful. Being able to write your code in Lisp and crap out Js is really appealing.

    • slacktoid
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 days ago

      There’s been so many attempts to wrangle some sense into it. Elm is one that comes to mind. But they are all too niche to make that impact.

      • ☆ Yσɠƚԋσʂ ☆OP
        link
        fedilink
        arrow-up
        3
        ·
        6 days ago

        Yeah, none of these languages have gone mainstream unfortunately. That said, I’ve been lucky enough to be able to use ClojureScript for all my front end dev, and haven’t had to touch Js in years.

        • slacktoid
          link
          fedilink
          English
          arrow-up
          3
          ·
          6 days ago

          Damn!! That’s awesome! I haven’t touched a lot of front end cause of JS

          • ☆ Yσɠƚԋσʂ ☆OP
            link
            fedilink
            arrow-up
            2
            ·
            6 days ago

            I really don’t understand how people work with Js. What blows my mind is that people choose to use it on the server voluntarily when there are so many better options available.

            • slacktoid
              link
              fedilink
              English
              arrow-up
              2
              ·
              4 days ago

              People could stand to spend an extra 5 mins to learn about the different tools at their disposal

              • ☆ Yσɠƚԋσʂ ☆OP
                link
                fedilink
                arrow-up
                1
                ·
                4 days ago

                I noticed an interesting pattern over the years where a lot of people are willing to spend inordinate amounts of time learning libraries and tools within the ecosystem they’re familiar with, but they tend to have little interest stepping out of it. I guess there’s a certain level of comfort you develop with a language and then you just don’t want to spend the time to learn others.

                • slacktoid
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  4 days ago

                  Oh completely… Its sometimes the weird syntax that freaks people out. I mean it helps to know multiple languages in life why not in tech? I have heard from so many people that they can’t follow some code examples just cause it’s in lisp but using descriptive var and function names … Nope… They still can’t

                  • ☆ Yσɠƚԋσʂ ☆OP
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    4 days ago

                    Amusingly, I find s-exp syntax is one of the easiest to read now because it’s so regular and predictable. Since all the logic has to be expressed using data structures, you can’t add a bunch of weird rules to the syntax. On top of that, the code acts as a diagram so you can see relationships visually by looking at the nesting.