Learning Elm by porting a medium-sized web frontend from React (2019)
1–10 of 95 posts
Re: Learning Elm by porting a medium-sized web frontend from React (2019)
#2It's the kind of thing that even if you don't end up using, you come out with lessons that make you a better programmer. Some that I remember:
- The compiler was fast, it made me aware that you could have an iterative workflow like most dynamic languages but driven by types
- The language/framework constructs (views, updates, etc) made it clear what kind of functionality had to live where so it makes me aware to define roles/arch in React apps that are 'just components'
- Error messages are just awesome, it was the clearest I had seen at that point and made me realize other languages just haven't paid enough attention to make them more usable
Re: Learning Elm by porting a medium-sized web frontend from React (2019)
#3I tried Elm in ~2018 and it was delightful. Ended up checking it out bc it was mentioned as 'prior art' in Redux's website. Didn't end up adopting bc everyone around me thought I was crazy to use something so niche. It's the kind of thing that even if you don't end up using, you come out with lessons that make you a better programmer. Some that I remember: - The compiler was fast, it made me aware that you could have…
I still use it for personal projects where 8 can but Elm is showing its age. Newer JavaScript APIs are not well supported and ports, while I understand why they exist, can be painful to use.
But I'd still recommend it. Way more fun than any other fronted framework library I've used and the functional nature was a fun challenge for me.
Re: Learning Elm by porting a medium-sized web frontend from React (2019)
#4here's the project for new eyes:
Re: Learning Elm by porting a medium-sized web frontend from React (2019)
#5I tried Elm in ~2018 and it was delightful. Ended up checking it out bc it was mentioned as 'prior art' in Redux's website. Didn't end up adopting bc everyone around me thought I was crazy to use something so niche. It's the kind of thing that even if you don't end up using, you come out with lessons that make you a better programmer. Some that I remember: - The compiler was fast, it made me aware that you could have…
Re: Learning Elm by porting a medium-sized web frontend from React (2019)
#6I tried Elm in ~2018 and it was delightful. Ended up checking it out bc it was mentioned as 'prior art' in Redux's website. Didn't end up adopting bc everyone around me thought I was crazy to use something so niche. It's the kind of thing that even if you don't end up using, you come out with lessons that make you a better programmer. Some that I remember: - The compiler was fast, it made me aware that you could have…
Sort of a modern front-end developer's version of reading SICP even if you're not going to end up coding in Lisp, but because it makes you a better programmer, as you say. Interesting take!
Re: Learning Elm by porting a medium-sized web frontend from React (2019)
#7I tried Elm in ~2018 and it was delightful. Ended up checking it out bc it was mentioned as 'prior art' in Redux's website. Didn't end up adopting bc everyone around me thought I was crazy to use something so niche. It's the kind of thing that even if you don't end up using, you come out with lessons that make you a better programmer. Some that I remember: - The compiler was fast, it made me aware that you could have…
Agree on all points. It's delightful to compile your app and... it just works. No nulls. I still use it for personal projects where 8 can but Elm is showing its age. Newer JavaScript APIs are not well supported and ports, while I understand why they exist, can be painful to use. But I'd still recommend it. Way more fun than any other fronted framework library I've used and the functional nature was a fun challenge fo…
Coming back to an old React app is usually a pain because everything changes between projects, even the state management architecture.
Re: Learning Elm by porting a medium-sized web frontend from React (2019)
#8https://elm-lang.org/ © 2012-2021 Evan Czaplicki
Re: Learning Elm by porting a medium-sized web frontend from React (2019)
#9Re: Learning Elm by porting a medium-sized web frontend from React (2019)
#10The website tells the full story: https://elm-lang.org/ © 2012-2021 Evan Czaplicki
React's would say 2022 - https://github.com/facebook/react/releases
There's engineering effort happening behind the scenes on both projects, the releases have slowed, and big changes are coming to both Elm and React.