14. Learn to disconnect

person looking at their reflection in a puddle
person looking at their reflection in a puddle
Photo by Marc-Olivier Jodoin on Unsplash

I have to say that I have gone through many professional stages during the 15 years I have been involved in software development. In some, I would have sent everything to hell and gone to the mountains to take care of cows. In others, everything was beautiful. Today, I have reached a point of professional and personal life balance, and I can say that I like to develop software a lot, but I cannot forget that it was not always like this and that this is not a profession for everyone.

In this article, I will talk about the things…


how to save a lot of time and make fewer mistakes

In this summary, I list some of the things that have helped me in my career. It reads fast, but applying them well can take a lifetime. I have been developing applications for almost 15 years, and still, sometimes, I have to stop and think in the essential parts of this profession.

  1. Take the code and break down big pieces of code into small functions.
  2. If by the time you leave work you haven’t solved the problem. Turn off the computer and leave it for the next day. …


A step-by-step guide on how to fix this issue

“Security” icon on computer screen
“Security” icon on computer screen
Photo by Pixabay on Pexels.

I have rarely seen passwords or sensitive information inside code. But what I often see are access keys to the database, SSH keys, server certificate keys, or other resource access keys in .properties files committed to the repository.

The problem with putting sensitive information such as passwords in .properties files or in the code itself is that if someone accesses our repository, they will access our resources. It is true that we can limit access by IP address, for example, but it is better to do things right from the beginning.

You may not have noticed that you have had…


Some do not understand it or do not want to understand it

Man in suit sitting at desk
Man in suit sitting at desk
Photo by energepic.com on Pexels.

In this article, I will reflect on my time at different companies and my experience with my bosses (most of them had no technical knowledge). Of course, these are personal opinions, but I think that many other developers may share them.

Trust Them

Many managers insist on measuring what you do by the hours you spend in the office. If I’ve finished something very complex in five hours and I’m too exhausted to start something new, let me go home. Another day, it will be the other way around.

If you want your developers to work well, trust them and pay them…


Something so simple can be dangerous at the same time

Devices locked by chain
Devices locked by chain
Photo by Pixabay from Pexels.

Saving user passwords in a database is common, but not every developer does it well. For example, in a code review today, I found that the passwords were in plain text. When I asked the developer what the danger of saving it this way was, they quickly realized the issue and wondered if the solution was to encrypt it. I answered, “No.”

In this article, I will explain a correct and simple way to do it. Let’s start.

Difficulty: Easy

Storing the Password

Storing a password as a plain text field is a terrible idea, but storing it encrypted using a two-way algorithm…


New features in JavaScript ES2021 (ES12) that have been approved by the Ecma General Assembly

JavaScript 2021 (ES12) picture

About a year ago, I wrote an article about the new features that JavaScript would incorporate in its ES2021 specification.

Today, in June 2021, these features, along with others, have been approved.
In this article, I elaborate and detail what I wrote more than a year ago, but with the addition of the final features that have been approved.

Index

  • String.prototype.replaceAll()
  • Promise.any() and AggregateError
  • WeakRefs and FinalizationRegistry
  • Logical assignment operators
  • Numeric separators

String.prototype.replaceAll()

String.prototype.replaceAll() replace all instances of a substring in a string with another string value, without using a global regexp.

Until now, the most common way of doing this was…


Not everything is Java, python, or javascript

Photo by cottonbro from Pexels

First of all, what the hell is an esoteric programming language?

An esoteric or esolang language is a language that is not designed to offer an efficient or elegant solution to computational problems but to explore the basic ideas behind the theory of computation as a proof of concept or to have fun and create the rarest programming language in the world.

There are many esoteric programming languages, but it is difficult to classify them because each one follows its own peculiar rules. …


With reverse geocoding and with or without localization permission rights

Map on tablet
Map on tablet
Photo by Pixabay on Pexels.

In this article, I will explain how you can get your current location (coordinates and address) with JavaScript and show what you can do if the browser does not have permission to access it.

To obtain the coordinates, we can use only vanilla JS. To get the address (reverse geocoding) through the coordinates, I will use Mapbox’s API. For this, I will need an API access token. You can obtain one on Mapbox’s website.

Define the Page

First, we create our index.html file and import the dependencies we are going to use. That means our location.js


Even the cache can be your enemy.

Photo by Andrea Piacquadio on Pexels

This Monday, I took the day off to take advantage of the good weather and go to do a route with the bike since I have not taken almost any day off this year. When I was going to the route's starting point, I got an email saying that an important module of our product had stopped working. This ruined my day because I spent the whole route thinking about the problem. In this profession, many things can always happen, and this has motivated this list.

Enjoy it!

1. Random bugs

When a bug occurs, we need to know where it happened and…


To err is human

Sign that reads “SINNER”
Sign that reads “SINNER”
Photo by Maruxa Lomoljo Koren on Pexels.

“Let him who is without sin cast the first stone.”

This famous religious phrase can be applied to almost any area of life. Of course, that includes the world of software development.

In this article, I have written a list of what I consider to be the biggest mistakes we can make when developing software. Whether you are religious or not, I am sure you are familiar with these deadly sins.

1. Lust

This is something that I have seen many times and that I also did when I started developing software. It’s very tempting to want to try everything new, such…

Kesk -*-

Software engineer - software Enthusiast - Sci-Fi writer.

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