|
|
|
|
|
by dnautics
2065 days ago
|
|
OOP and FP are really not all that different anymore. I joke it's become like risc/cisc: OOPLs (including python) these days have lambdas, map, and reduce... Elixir has inheritance (behaviours) and polymorphism (protocols). What elixir doesn't have is pass-by-reference. Which, imho, is a huge win, unless you are going matrix math. |
|
When people talk about how similar are OOP and FP languages they miss the elephant in the room - immutability.