I hated Ruby on Rails at first

Kwesi Dadson
2 min readMay 1, 2022

--

As someone who started programming with C, C++, I was really arrogant about programming (and knew nothing 😂)

I liked the “hard life”. Why would you learn something like PHP? You are not a real software engineer if you ask me. You should be doing C++ and probably Assembly language too. I enjoyed doing the hard stuff.

So how did I end up with Ruby?

Growth happened. With time I begun to understand that you need to use the right tool for the job. There’s no point to prove. You just have to make sure you’re taking the best route of action. If the purpose is to learn, then by all means go the hardest route to build your muscle, but if you want to get something done, use the fastest and most efficient route that gives the best result.

Hate at first sight

I joined my first company as an intern and that was when I had to learn Ruby/Rails. I had done C++, moved to Java and finally settled on python. I didn’t like the whole “begin/def… end” syntax in Ruby when I begun but I was okay.

I got introduced to Rails and boy… I was overwhelmed with the numerous files. The boilerplate code was driving me crazy (That’s the reason why I never became an Android developer. Too many files). Also because I was new to MVC and “big” projects as a whole.

I am the kind of person that wants to understand the ins and outs of whatever code I write and Rails would have none of that!

Why do I get to do User.find_by_name("John Doe") just because there’s a database field called name ??? What’s this belongs_to :user ? And how does it know how to get the connection between theproducts table and the users table?

It was stressful for me! But with time I stopped swimming against the waves and decided to read the docs and do what I’m asked to do to get the job done.

Love, finally

I begun to understand what Rails does for me on a higher level and begun to enjoy its development speed.

Rails (call her Ruby) is that girl your mum warns you to stay away from because she’s “extravagant” and will probably finish all your money but you realize she comes with her own money and makes your life easier!

See beneath the beautiful

Now I’m focusing on mastery. I want to know what’s behind the magic and I have three books on my list: Eloquent Ruby, The Rails 5 Way and Polished Ruby Programming: Build better software with more intuitive, maintainable, scalable, and high-performance Ruby code. One down, on the second now. These were recommended by my mentor Edem.

I am beginning to understand the magic behind everything and it’s amazing!

--

--