The Ruby in The Rough: A Whole Different Beast
In my relatively short 24-year long life I’ve done quite a bit of difficult tasks. I’ve graduated high school with honors, I was a cadet in a senior military college for 4.5 years, got medically discharged from said cadet program, graduated with a BA in psychology and managed to a maintain a relationship which is now going onto 3 years.
Little did I realize that one of the hurdles that would cause me to physically and mentally deteriorate was going to be the backend language specifically made for the ease of software developers, Ruby.
Ruby is a beautiful women,(yes, I’m still talking about the programming language) and like any beautiful woman underneath that effortless looking natural look are layers upon layers of complexity and meticulous thought.
Due to this I fell behind and became admittedly disinterested. Learning about SQL and ORMs was truly a slog because of how repetitive and tedious it felt.
Creating methods with SQL was as interesting as watching football turf grow.
That was when ActiveRecord came into the equation.
Like Joan of Arc for the French, like the Americans for the British in WWII, like the pizza delivery guy for me at 11PM, ActiveRecord was a gift and God-send.
It showed the beauty of the inter-connected hivemind community of developers. Through this Ruby became much more enjoyable.
It became fun. It was actually exciting to navigate through the information and data through their connected relationship. Learning about the has_many and belongs_to associations was like playing detective, looking for clues to the next step until you finally got back to where you started.
After this I learned of the structuring of the Ruby backend with model, view, controller (MVC), working with/creating seeds, setting up routes with and without params, and how to utilize the routes to perform CRUD (Create, Read, Update, Destroy) operations.
This all culminated for my Project 3 for Flatiron School. With the finesse of a gazelle and the speed of a cheetah I was able to deftly create the backend server utilizing Sinatra and ActiveRecord.
When it came to the front-end however I flew as well as a pig with saddlebags of lead. I had to use React and unfortunately I was very rusty with React since I’ve been so focused on the backend. My largest hurdles was maintaining RESTful routing, following convention rather than configuration, and utilizing fetch to connect to the server (I still don’t quite understand the syntax and the meaning of all of its aspects).
Funnily enough, during my coding I also learned how important it was to be cognizant of the updates to certain dependencies. I must admit it probably would’ve been a funny sight to see a grown man yelling, “WHY?!?!” at his laptop for a few hours.
All in all, through this adventure I’ve learned more than anything else, to constantly keep in practice, to read the fine print, and that I have so much more to learn. It is a daunting yet exciting road ahead.
Thank you for listening.
Please be happier.
This has been Aeco, logging off.