3 ms·
Do you prefer functional programming? Do you like to "know how everything works?" i.e., you prefer explicitness over magic? Are you OK with documentation that i
by brandonmenc 9y ago
Do you prefer functional programming? Do you like to "know how everything works?" i.e., you prefer explicitness over magic? Are you OK with documentation that isn't always correct?
Try Phoenix.
Are you a beginner? Do you want to learn a more marketable skill? Do you just want to get stuff done as quickly as possible as soon as possible? Do you prefer OOP?
Try Rails.
I use both in production. Rails is awesome. It does everything, is performant enough for nearly every use case, and has some of the best documentation ever. You really can't go wrong with it.
I switched to Elixir and Phoenix mostly because I prefer functional languages. Honestly, if Elixir weren't functional I wouldn't be using Phoenix over Rails.
I also felt - after some years - constrained by the style of modularization Rails enforces - which, to be fair, is a benefit when you're just starting and is suitable for nearly every project. But, if you're an experienced developer, it might bother you in larger projects that you can't break up your code the "right" way. It's a minor detail for some people, and a major pain for others. ymmv.
tl;dr - use Rails unless you're willing to trade initial productivity for specific and possibly not very important language preferences.