Photo by Christopher Gower on Unsplash

There are a lot of questions when it comes to testing in software development. Do I really need it ? How should I do it ? Should I write my tests first (TDD)? Let’s start with the basics.

Automated Testing

Automated testing is the practice or writing code to test our code, and then run those tests in an automated fashion. With automated testing, our source code consists of 1. application code and 2. test code. Here’s an example:

Imagine we have this simple function somewhere in our code.

It’s…


Photo by Michael Dziedzic on Unsplash

The classical definition for Big O according to Wikipedia is:

Big O notation is a mathematical notation that describes the limiting behavior of a function when the argument tends towards a particular value or infinity.

There are a lot of concepts within this definition and that’s probably why a lot of people are afraid of Big O. In a few words, we use Big O to describe the performance of an algorithm. This helps us determine wether and if an algorithm is scalable or not. This means: will this algorithm continue to perform even if the input gets really really…


Are you currently remaking your class components into stateless functional components but don’t know how to do the same with your controlled forms ? You’ve come to the right place! In this blog post I will be giving a brief introduction to react hooks and how you can build controlled forms without using state. Let’s get started.

What are Hooks ?

According to the React docs:

Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class.

In a few words, hooks are a simpler, more concise way to write components. In order to…


For any new react developer, the difference between props and state might not be crystal clear. They both look similar but differ in functionality and usage. In this post I will talk about the difference between the two and walk through a couple of examples. Let’s get started!

So, what are props ?

Props are properties that are most of the time passed as arguments from a parent component. They work as an external influence from which the component has no control over. Imagine that we have a parent component whose only function is to pass a name to the…


Every Ruby developer knows that in order to test a database, they are going to eventually write some generic data, most likely in a seed file. They will need to be VERY creative to come up with data that will fit into all their models and not be repetitive. This is when the Faker gem comes in handy.

The Faker gem is a port of Perl’s Data::Faker library that generates generic data. The truth is that having this gem required in Gemfile will improve the way developers populate their database while it is being developed. Both in accuracy and time…


As with some programming languages, there are different built-in methods that will help us to iterate through a given data structure (let’s say an array). When I first started to learn Ruby, I struggled with making a decision on what enumerable to use. Should I use .find ? .map ? or maybe .select ?

Photo by Sebastian Herrmann on Unsplash

After spending some time practicing I realized that the best way to make a good decision is to start by defining your objective beforehand. Meaning, asking yourself: What do I want this method to return ? Am I looking for a specific value ? Or all…

Emilio Quintana

Aspiring Full-stack Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store