The revolution of 3-spaces code indentation
When I started writing the first programs at University, I didn’t follow any particular code style or convention and, to be honest, I didn’t even know why those concepts were important. This is...
View ArticleThe power of simplicity in code
A few days ago I found an online test featuring six exercises on JavaScript. For fun, wishing to challenge myself with something tricky, I decided to take it. The test proved to be very simple, so it...
View Article5 reasons why you should start writing technical articles
A few weeks ago, LinkedIn has reminded me that it was four years ago (on the 8th of September 2012) when my first technical article, titled Create Your Own HTML5 Environmental Thermometer, went live....
View ArticleMy most used npm commands
If you’re a front-end or a JavaScript developer, you’re surely using npm. npm is a registry where people publish their software. At the beginning, developers used npm to share JavaScript libraries and...
View ArticleMonkey patching in JavaScript
When working on a project, we often use libraries that implement methods that aren’t built-in in the programming language in use. These libraries don’t cover all the possibilities, so they might lack...
View ArticleFrom JavaScript developer to JavaScript engineer: re-implementing ECMAScript...
As developers, our work is to solve problems which often implies writing code. Some of the problems we face look really simple in nature, but their simplicity leads us to write sub-optimal solutions...
View ArticleFrom JavaScript developer to JavaScript engineer: find all celebrities in a...
In the first article of my series From JavaScript developer to JavaScript engineer titled From JavaScript developer to JavaScript engineer: Re-implementing ECMAScript 2015’s String.prototype.repeat()...
View ArticleAn in-depth guide to event listeners
When creating interactive web pages, developers often need to execute some actions when a given event occurs. Changing the image of a carousel when a user clicks on one of its arrows, showing a tooltip...
View ArticleEvent delegation in JavaScript
One of the most common tasks a web developer deals with is to add event listeners to the elements of a page. Event listeners are employed to perform one or more actions when a given event occurs on one...
View Article5 JavaScript interview questions a mid-level developer should be able to answer
According to the results of the 2018’s StackOverflow survey, JavaScript is the most popular technology. The amount of job offers for JavaScript developers is constantly increasing and with more...
View Article