Better HN
topnewbestaskshowjobs
Log inSign up

prodiguy89

4 karma · joined Jun 25, 2019 (7y ago) · 4 submissions

Submissions

comment 7y ago · link · parent

I'm currently working on my side project the backend for which I've chosen elixir to go with. Looking at performance and long term maintainability, it doesn't seem to be a sucker like rails.

No magic, no hacky patterns. No mess like the one you see with Node. For what it does the platform is hella stable. I drifted towards Go for a little bit but man, code in Go felt too verbose with weird patterns. Go is a solid platform as well. But it's not just my cup of tea for web apps right now.

Scalability is in reach if you need it. Hell, even if you need ridiculous background job processing power, use OTP already. And I forgot, liveView is also rock solid. Honestly, if anyone would ask me what the best platform for web apps right now is, I'd just say Phoenix/Elixir.

comment 7y ago · link · parent

I used to work with rails before. While it is fun to build stuff with it, it comes with a set of bothersome headaches:

- too much magic

- slow and painful to scale

- too much metaprogramming

- no compilation, makes it easy to hide syntax errors

- concurrency is absent

- frameworks like rails are too bloated

All these are addressed on the elixir platform, and there are more pros:

- immutability

- mostly purely functional

- well defined modules with good documentation

comment 7y ago · link · parent

Screw windows and move to Linux! Opens up a ton of possibilities including docker

comment 7y ago · link · parent

The good thing about Phoenix is you are not forced to go in any particular convention for everything, you can craft them yourselves from scratch. The bright side of this is you will only every little thing in the implementation and you'll know how to optimize it.