• ☆ Yσɠƚԋσʂ ☆@lemmy.ml
    hexagon
    ·
    27 days ago

    The demo is a dialect of Clojure that compiles to Js called Squint. I find it really depressing that this type of workflow has existed since the 70s, but never made it to the mainstream.

    • slacktoid@lemmy.ml
      ·
      27 days ago

      Oh shit if I knew of it I would have cared about JS a little more lol.

      We need more lispy shit!

      • ☆ Yσɠƚԋσʂ ☆@lemmy.ml
        hexagon
        ·
        27 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@lemmy.ml
          ·
          27 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σɠƚԋσʂ ☆@lemmy.ml
            hexagon
            ·
            27 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.

              • ☆ Yσɠƚԋσʂ ☆@lemmy.ml
                hexagon
                ·
                27 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@lemmy.ml
                  ·
                  25 days ago

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

                  • ☆ Yσɠƚԋσʂ ☆@lemmy.ml
                    hexagon
                    ·
                    25 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@lemmy.ml
                      ·
                      25 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σɠƚԋσʂ ☆@lemmy.ml
                        hexagon
                        ·
                        25 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.

                        • slacktoid@lemmy.ml
                          ·
                          25 days ago

                          Truely an underrated concept. But you don't get the nerd points for understanding memory management.. And isn't that what programming is all about