DEV Community

Discussion on: Are Ruby and Elixir the Perfect Yin and Yang?

Collapse
 
josegonz321 profile image
Jose Gonzalez

Hey Josh,

Not sure what do you mean by perfect yin and yang.

As you already mentioned, they are both different paradigms: OOP and FP, respectively.

Some would argue that learning FP helps your OOP skills and ups your general programming knowledge.

Although I have never gotten paid to write Ruby, I'm familiar with the language and can follow along. (I've been doing C# for 15yrs or so cumulative years).

As per Elixir, I have not been deep dive into it. If you are interested in learning it, here's a great starting point: Getting Started with Elixir.

Have a great journey!

Collapse
 
joshhadik profile image
Josh Hadik

Thanks for this!

I call them "the perfect Yin and Yang," because they are such different paradigms but with such a similar style.

I think if you can master a FP and an OOP language, you become a stronger developer. Not only does learning both give you a greater mastery over the other, but now you have two completely different languages you can choose between, both optimized for different situations. Which I think ties in nicely to the concept of Yin and Yang which (according to Wikipedia) "describes how seemingly opposite or contrary forces may actually be complementary, interconnected, and interdependent [...] and how they may give rise to each other as they interrelate to one another"