Skip to content

parseInt and Radix

Everyone knows that the parseInt function within JavaScript turns your decimal number or string into a rounded integer. parseInt turns 10.937 into 10, 0.2 into 0, and “someValue” into NaN.  If you use parseInt without a radix, however, you’ll… Read More »parseInt and Radix

Node server with ES6

Today I was wondering how could I write ES6 code and run it on node so I could write my applications using always the same pattern, no matter if I’m writing Node backend code of… Read More »Node server with ES6

Merge Sort Algorithm

The Merge Sort algorithm is one of the most commonly used sorting algorithms in computer science and is also one of the most efficient. It’s based on the principle of Divide and Conquer, and this technique… Read More »Merge Sort Algorithm

JavaScript fundamentals

Javascript is the language of the web. It was born for the web and used for a long time to run small functions inside browsers. We used to create JS scripts to animate stuff, or validade forms but those days are over. Javascript evolved into a full language capable of loading data from servers and manipulating the DOM in such way that made possible for full frameworks to appear. Now we have a full ecosystem of JS. It runs on the server side, on the client side and even on Mobile devices and Apps for desktops.

In this article I want to give you a brief overview of the Javascript fundamentals so you can begin to understand how it works and what you can do with it. Hope you guys enjoy!

Data Types

Even though Javascript is not a strictly typed language, it has types. We are gonna talk about the types later, first we need to clarify one thing.

Javascript has primitives, objects and functions. All of them are values. All are treated as objects, even primitives.

Read More »JavaScript fundamentals

Immutability in JavaScript

Immutability is a super hot subject in modern JavaScript and the reason for that is, of course, because of the functional programming paradigm.

Immutable data is tightly connected with a functional approach where any mutation is considered as an unwanted side effect. But first, let’s dive into details of mutability and immutability.

Read More »Immutability in JavaScript

What the hell is Serverless architecture?

The Information Technology (IT) market constantly presents new trends, some of them pick up and others do not even go beyond the concept phase. The latest trend is the Wave of Serverless, a cloud computing solution that has caught the eye of developers and industry professionals since last year.

Also presented to the market as FaaS (Function as a Service) or Serving Platform as a Service, Serverless is already being disseminated by a group of Cloud Computing providers.

Read More »What the hell is Serverless architecture?

Creating your own Node module

In this article we are going to talk a little bit about creating NPM modules and sharing them on NPM registry, but first let’s define what’s NPM.

NPM is a package manager for Node.js packages, or modules and the npm website hosts thousands of free packages to download and use freely. NPM program is installed on your computer when you install Node.js.

Read More »Creating your own Node module