2025-02-18
To start this post, let’s imagine we started having a lot of different classes in our program. Is quite possible that we end up with equal class names. For instance, you decide to name a class as “Figure”. Months later, you’ll start to forget the ...
Read Here
2025-02-11
Let’s continue our advance in Ruby OOP, this time we’ll be talking about inheritance. Ruby inheritance is a way to reuse code in Oriented-object programming (OOP). Using inheritance, a Class can use the methods from other Class or Classes. The e...
Read Here
2025-02-04
Now we have enough knowledge to continue our talkings about Ruby classes and objects. We have been studying OOP in detail and doing challenges. Let’s talk about other topics related with OOP in Ruby Everything is an object in Ruby As we already k...
Read Here
2025-01-28
So far we have enough theoretical knowledge to understand Classes and Objects in Ruby. If you have been following previous blog post, here we have the order to study this subject - Introduction to Object-Oriented Programming in Ruby- Methods and ...
Read Here
2025-01-21
At the end of the last blog post called: Methods and Attributes in Object-oriented programming in Ruby we study about attributes. Let’s recap Attributes (object information) Just as an object has behavior (methods), objects can also have informa...
Read Here
2025-01-14
In the last blog post we introduced the concept of Object-oriented programming in Ruby, we talked about the different programming paradigms and we created our first Class and Objects. Just to recap a bit about the code we wrote in that blog post, ...
Read Here
2025-01-07
After all the content we’ve created so far, it’s time to introduce you to a concept which, at the same time, is the main paradigm of Ruby and other modern programming languages: object-oriented programming. But as always, we have to have a good c...
Read Here
2024-12-31
Sometimes we'll need to deal with file management with Ruby. For instance, you receive a .txt file from your Project Manager (PM) and you have to read what’s inside. Other times you have to write something there. Cases like this can happen with di...
Read Here
2024-12-24
Now you have an idea about how to solve the coding challenges (or at least) how they are structured, read and solved. Probably you noticed that it is easy to follow through the steps if you stick to the framework to solve coding challenges. So let...
Read Here
2024-12-17
Now we have a lot of knowledge to put into practice. Even in the last blog post we talked about how to solve coding challenges. That post followed by the large amount of previous ones, you have the basis to solve current and next coding challenges...
Read Here
2024-12-10
Now we have a lot of knowledge to put into practice, so far we’ve seen these articles:about Ruby and Data Structures. Articles about Ruby - What's Ruby (Programming Language)?- Ruby Data Types: Strings, Numbers and Booleans- Variables and User I...
Read Here
2024-12-03
In the last blog post about Big O Notation we talked about three basic notations like O(1) - Constant Time, O(n) Linear Time and O(n**2) Quadratic Time, to describe the time and space complexity of a given algorithm. However, at the end of the a...
Read Here
2024-11-26
Now it’s time to touch this important topic in computer science. But to understand these concepts you’ve to know about Time and Space Complexity and the basics about memory. Once you have that knowledge we’re ready to start Big O NotationIs a mat...
Read Here
2024-11-19
So far we've been talking about the introduction to data structures and now we’ll be talking about memory. But we’ve to answer these questions first: why is memory so important at this point? Isn’t it related to hardware? When we’re programming ...
Read Here
2024-11-12
Introduction to Ruby Data Structures and Complexity Analysis Now we’re going to enter in a field of computer science that will help you understand even better the things we’ve been learning in the past blog posts: Data Structures and Complexity A...
Read Here
2024-11-05
So far we’ve been seeing the way Ruby works and the type of data we can work with inside Ruby. So, we can say now that we know Ruby in more detail than in the beginning. Now we need to see a tool that can help us organize all of our code and do it...
Read Here
2024-10-29
So far we’ve seen different data types in Ruby, like Strings, Numbers, Booleans and Arrays. Now it’s the time for the next data type: Hashes. Arrays A Ruby hash is a data type similar to Arrays, but instead of being zero indexed, we as programme...
Read Here
2024-10-22
Previously in a blog post called Ruby Data Types: Strings, Numbers and Booleans we saw the basics of strings. Now we’re going deeper on this Ruby data type. Strings Strings are the first data type we’ll know inside Ruby. A string is traditionally...
Read Here
2024-10-15
Previously I wrote a blog post about the basic data types in Ruby: Strings, Numbers and Booleans. Also in the post called Ruby Each Loop we introduced the concept of Ruby Arrays, however not in great detail. This blog post will explain in detail w...
Read Here
2024-10-08
In previous post called Ruby Times Loop and While Loop we’ve been talking extensively about Loops and we said that: Loops allows you to: * Go over a list of things & work with each individual element * Repeat something a set number of times *...
Read Here