4 ms·
Learning curve is a little steep, because of the functional aspect. However, the benefit always was worth my time. Our tiny server runs blazing fast in producti
by princevegeta89 5y ago
Learning curve is a little steep, because of the functional aspect. However, the benefit always was worth my time. Our tiny server runs blazing fast in production and picks off background jobs incredibly fast
- toastal 5y agoIs the functional paradigm still considered something most people still haven't learned in 2021?
- masklinn 5y agoYes? Most people might have experience with functional-ish features like HoFs and lambdas in imperative langages but Elixir, through Erlang, is much more of the package: immutable structures and bindings, expressions-oriented, patterns, limited support for iteration. It’s not pure or anything, but it’s closer to OCaml than it is C# or Javascript. “I’ve used Array#map” doesn’t mean you know functional programming.
- princevegeta89 5y agoYes sir. People would have fun doing .entryList() or map.each do {} end which seems trivial but however with something as functional as Elixir, we can only achieve this with the Enum module for example. There is no iteration but only a bunch of methods from which to choose based on your requirement
- ravi-delia 5y agoI never really had trouble with that aspect with it, but I also never really mastered OO programming. The paradigm shift is probably tough, but I sucked enough beforehand that I didn't have to deal with it.