3 ms·
I've tried to get other people to get involved with Elixir but most people don't understand Functional Programming and haven't encountered the problems Rails/Ru
by andy_ppp 10y ago
I've tried to get other people to get involved with Elixir but most people don't understand Functional Programming and haven't encountered the problems Rails/Ruby or say Python has.
I think people coming from OOP find FP hard and seem to struggle with things like Ecto and definitely Macros.
Once you have mutable state everywhere and problems with the GIL and throughput on routes being slowed down too much so you start moving everything into queues (celery or rabbit). Then you realise that all of this could have been avoided and made much much easier to test if it were all written in Elixir.
- sotojuan 10y ago> I've tried to get other people to get involved with Elixir but most people don't understand Functional Programming I really don't get this. Elixir is barely FP—just immutability and first class functions. Is it really that hard for a lot of people? It's not Haskell or Clojure (""weird"" syntax). I'd argue the hard part of Elixir is OTP and taking advantage of distributed computing. > haven't encountered the problems Rails/Ruby or say Python has. This is a good reason, honestly. If Ruby is fine, why change? It'll just make learning a new paradigm and OTP less fun because there's no need to learn it.