DEV Community

Discussion on: My experience as a beginner in Elixir. And why you should try it too…

Collapse
 
cotcotcoder profile image
JeffD

Do you need some functionnal knowledge to start with Elixir or it's ok for a classic Python/PHP developper ? There some difficulty to learn fonctionnal programming for a object oriented programmer?

Collapse
 
jpyamamoto profile image
Juan Pablo Yamamoto

You'll certainly have to learn functional programming. However, I suggest you do it on the go as you learn Elixir. In fact, I strongly believe that the functional approach will most of the times be easier than Object Oriented Programming. Something that a lot of people do when they're just starting with Elixir (myself included) is trying to simulate what they would do in OOP, in functional code, and that's just a bad idea. But once you get used to thinking functional, your code will be easier to understand and debug. And the best way to achieve that is by practicing 🤓