Carlos Fuentes

62 Flips | 9 Magazines | 1 Like | @MetCoder2195 | Dreamer developer, "I solve problems with code, even when I'm dreaming"

Designing a Microservices Architecture for Failure

A Microservices architecture makes it possible to <b>isolate failures</b> through well-defined service boundaries. But like in every distributed system, …

Node.js Interview Questions and Answers (2017 Edition)

<b>Two years ago we published our first article on common Node.js Interview Questions and Answers. Since then a lot of things improved in the JavaScript</b> …

Getting Node.js Testing and TDD Right

Making changes to a large codebase and making sure it works is a huge deal in software development. We've already talked about a few great features …

JavaScript

10 Best Practices for Writing Node.js REST APIs

<b>In this article we cover best practices for writing Node.js REST APIs</b>, including topics like naming your routes, authentication, black-box testing & …

Habits of a Happy Node Hacker 2017

It’s been a little over a year since our last Happy Node Hackers post, and even in such a short time much has changed and some powerful new tools …

JavaScript

Learning to Throw Again

Six years ago, during the early days of node, Guillermo Rauch wrote a blog post titled A String is not an Error. It might seem obvious now, but at …

Node.js Async Function Best Practices

Since Node.js version 7.6, Node.js ships with a new V8 version that features async functions. As Node.js 8 becomes the active LTS version on October …

The Importance Of Abstraction in JS

JavaScript is no longer what it used to be. The Web has evolved in an extraordinary way. Yes, you know what I’m talking about. You sense it too.<p>Every …

Introducing RAIL: A User-Centric Model For Performance

There’s no shortage of <b>performance advice</b>, is there? The elephant in the room is the fact that it’s <b>challenging to interpret</b>: Everything comes with …

What it is and why/when/how to use it effectively

So you’ve gotten past your first few tutorials in Node.js and you’ve probably seen the line app.listen(process.env.PORT) or something to that effect. …

List of do's and don'ts in Javascript Development

This guide contains primary coding standards for the javascript programming language. Javascript programming guidelines will help you to deliver …

Regular Expressions in JavaScript

It is very easy to experiment with JavaScript regular expressions, as JavaScript is accessible in all browsers.I will use the Chrome Developer Tools …

A Deeper Inspection Into Compilation And Interpretation

There is perhaps nothing more satisfying than seeing the pieces of a puzzle come together. This is the case for actual puzzles, which I am pretty bad …

Computer Science

Creational Patterns, inheritance, and Object Composition for Web Developers

“Object composition lets you change the behavior being composed at run-time, but it also requires indirection and can be less efficient. Inheritance …

JavaScript

A different way of understanding this in JavaScript

In this blog post, I take a different approach to explaining this in JavaScript: I pretend that arrow functions are the real functions and ordinary …

How Well Do You Know Node.js? - Answers (Part 2)

18 Jan 2017 | node-js<p>This is part 2 of my atempt to provide answers to the questions presented at How well do you know Node.js? blog post. part 1 is …

JavaScript

How Well Do You Know Node.js? - Answers (Part 1)

14 Jan 2017 | node-js<p>Recently I came across a blog post titled How well do you know Node.js?. In it, Samer Buna lists 48 questions which be expects a …

JavaScript

Testing your JavaScript Code

I know what you might be thinking, there are so many languages and frameworks to learn, and so little time. Why should I spend more time on writing …

JavaScript

JavaScript — What are Tag Functions?

JavaScript — What are Tag Functions?<p>Learn and Understand How to Use Tag Functions.<p>This is Part 2 of 2 in a series on Template Literals<p>What are …

JavaScript

Use Lazy Values to Speed Up Your JS Apps

Learn how to use the Object.defineProperty API to create lazy values and speed up the time it takes for your application to load.

Apps

Seven useful programming habits

<i>This short entry was also published on my personal website</i><p>I have been reading some good books on forming habits recently. After digesting these, my …

Performance Testing

JavaScript loops — how to handle async/await

How to run async loops in sequence or in parallel?<p>Before doing asynchronous magic with loops I want to remind you how we write classical synchronous …

Compilers are the New Frameworks

My current “investment thesis” is that what we call web frameworks are transforming from runtime libraries into optimizing compilers. When it comes …

Coding with Clarity

Working code isn’t necessarily good code. Your code also needs to be easy to read, understand, and modify. It needs clarity, and to achieve that, it …

Software Development

When to make a Git Commit

You don't have to look through too many commit histories on GitHub to see people are pretty terrible about making commits.<p>Now I'm not going to talk …

Explain what is DB indexing like I'm five

You like to play with your toys all around the house, and you have a big house. PS: now the parents regret buying all these toys, but is too late.<p>But …

Getting Started in Node.js!

answers the tough questions, through documentation resources, of how we get started in Node.js.<p>New to programming?<br>New to JavaScript?<br>New to Node.js …

Operating Node.js in Production

We have already discussed how you can deploy your Node.js application to production using Continuous Deployment.<p>In this chapter we will take a look …

Generators And Promises

(psst! All the code referred to in this post can be found here! Just have a look at front-end/js/main.js)<p>Ok, this topic took me a bit of time to …