Skip to main content

11 posts tagged with "javascript"

View all tags

Clean Code JavaScript

· 10 min read
Bruno Carneiro
Fundador da @TautornTech

In this article, I will present some good programming practices in JavaScript. However, these practices can be applied to any programming language, as they represent a set of recommended guidelines.

The central concept addressed here is "Clean Code," which refers to code that is easy to read and understand, as well as easy to maintain. The goal is to create clear and concise code.

Before proceeding, I would like to start with a quote from Bjarne Stroustrup, the creator of the C++ language:

"I like my code to be elegant and efficient. The logic should be straightforward to make it hard for bugs to hide, the dependencies minimal to ease maintenance, error handling complete according to an articulated strategy, and performance close to optimal so as not to tempt people to make the code messy with unprincipled optimizations. Clean code does one thing well."

JavaScript Design Patterns

· 9 min read
Bruno Carneiro
Fundador da @TautornTech

JavaScript Design Patterns​

Hey everyone, what's up?

Today I'm going to share some Design Patterns with JavaScript. I'll bring examples of the most common ones and the ones I enjoy using the most in my day-to-day work. I'll try to present clearer cases that can make you think about when a particular Design Pattern will apply to your solution.

This article is not a "recipe book" for when to use what, but rather what each pattern is for and how it can help you. I want to make you think about it rather than draw a straight line...

So let's get going...