HN user

polyfish42

50 karma
Posts0
Comments2
View on HN
No posts found.

I agree. Came on here to say that doing your own research is one way to reduce outrage stress. After reading a top political story in NYT, I hardly ever learn a valid point made by “the other side”. Researching with ChatGPT, or reading conservative media, I can usually find some. This makes the other side a little more rational in my imagination and reduces the stress.

Steelman your opponent’s arguments! It’s not just good for thinking, it’s relaxing!

Beginner programmer here – I just want to say that I credit Elm with getting me hooked on programming. I tried other languages (Ruby, Javascript, even Elixir) but I never made it past the first project. With Elm, I've made a few projects and show no sign of stopping. Here's the best I can determine why:

1. Elm is simple, so I have fewer options to choose from when solving a problem. This means I learn a few ideas really well.

2. Even thought Elm is very much about the web (as the article mentioned), it's awesome to be able to see things in your browser immediately. It's also helpful to be able to build an application without a backend. You can see your model in the same file that you see your view, which helps you more easily think about each part together.

3. Complier/Type System: Once I finally figured out Union Types, the compiler is super helpful and friendly.

4. Elm forces you to handle errors, functions that can fail, and "Nothing", all things that you have to (a) know about and (b) remember to do in other languages.

5. Lack of tutorials, documentation and libraries to rely on means less "productivity" but it forced me to really learn the language and how things worked. I had to implement OAuth without a library, read source code to figure out what a function did, and couldn't google every problem.

I'm too new to know if Elm taught me the most important things a I should know about programming, or if there are better options out there. I do know that it's really fun. As a beginner, that might be the most important thing.