There are lots of tools that promise to let you write your client-side code without touching an ounce of JavaScript.
Which ones does the Dev.to co...
For further actions, you may consider blocking this person and/or reporting abuse
Highly recommend Elm (it has everything, its own package system as well, no runtime exception - and that is true and has been tested in production).
+1 Elm!
While I actually don't favor anything over vanilla JS, if you absolutely want to compile to JS from something else, Elm seems to offer some cool stuff. I've dabbled with it and it is a lot of fun. Wish it were more popular.
It is somewhat Haskell like, but doesn't have typeclasses.
This is my trepidation - typeclasses are one of the things I love most about Haskell. Is it limiting to not have an analogous system?
I hear both sides of the story. The general picture is:
I personally don't mind that at all. The language is very productive after all.
P.S. I was, maybe, a little bit misleading. It doesn't have typeclasses. But it has types and type inference as well. You can define your own types with custom types (previously known as union types).
Fair enough! Thank you.
Fable-Elmish. It’s basically MVU (hence “elmish”) in F#. Plus the ability to write your own effects in F# (and synchronous if you want). Also auto gen JSON parsers if you know the JSON structure up front. The F# code is translated to JS thru Babel (hence Fable). It uses React to render the UI.
I still hate front end build stuff. But these tools at least make the coding part of the UIs nice.
Huh, this sounds really nice. I've never touched anything .NET, but if I did I always assumed F# would be my jumping off point. I'll have to look more into this, thank you!
I'm starting to explore using Kotlin/JS. I'm really intrigued by the idea of being able use one language to create libraries shared by frontend web, Android, iOS, and the server, but haven't really done enough in it to know how well it actually works for frontend web dev.
Awesome! In a similar vein, I've heard that people who try out ScalaJS never really want to use anything else.
Kotlin is seeming more and more like an excellent choice for my "new language of the year" in 2019.
Thanks for the recommendation!
By the way, the JS itself compiles to JS(Babel).
True enough! It's rare not to use some sort of compilation pipeline these days. Not to mention JITing engines in most major browsers
Take a look at Mint. It certainly has some potential.
Interesting! Never heard of this, thank you