• ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
    link
    fedilink
    arrow-up
    0
    ·
    1 month 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@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month 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σɠƚԋσʂ ☆@lemmy.mlOP
        link
        fedilink
        arrow-up
        0
        ·
        1 month 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.

          • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
            link
            fedilink
            arrow-up
            0
            ·
            1 month 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@lemmy.ml
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 month ago

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

              • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
                link
                fedilink
                arrow-up
                1
                ·
                1 month 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@lemmy.ml
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  1 month 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σɠƚԋσʂ ☆@lemmy.mlOP
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    1 month 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.