One of the most basic and fundamental models for application architecture is the Model-View-Controller (MVC) pattern. Many architectures leverage this pattern – whether in a Ruby on Rails, server-side application or a React front-end interface – so it’s important to understand how, why, and so what?
Did you know that Ruby was good for the environment? It is, because it follows strict EPA principles… Encapsulation, Polymorphism, and Abstraction. [Ducks a volley of Tomato objects thrown at him].
Integers, floats, strings, arrays, objects, functions, loops, scope? Piece of cake. Classes? Not so easy.
Understanding what classes are, how they work, and how to incorporate them into your code is critical to developing any working enterprise application.
I’m now also using Ruby again, which has a slightly different flavor.
Here are some of the main syntactical differences between the two languages, in table format.