by valenterry · 4y ago · 0 comments
I don't think you do. Learn Haskell or Scala (doing only pure functional programming). The goal should be to express whatever problem you have at hand in the most natural and high-level way. That brings back good feelings when working because you are spending all or almost all of your brain-power to solve the business problem, without having to deal with low-level problems that no one except engineers understand.
Elm is a great and productive language - but it is not nearly as expressive. Exixir is not a great language at all but it's still great because it runs on the BEAM. That makes it very effective for big production projects. But you are not looking for effectiveness. You are looking to get your joy back in what you are doing.
You can also go the other way and don't solve high level problems but solve the most low level stuff - but from what you are saying, it doesn't look like that's what you want.