how to save a lot of time and make fewer mistakes

Image for post
Image for post

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. …


The developer that everyone wants to hire. Are you one of them?

A man with a beret writing on a blackboard
A man with a beret writing on a blackboard
Photo ofStartup Stock Photos in Pexels

Here I leave a small compilation of what I consider and share with other professional colleagues about what a great Software Engineer is. Enjoy it!

They are reliable

  • If something goes wrong, they will try to help whether it is their fault or not.
  • If something serious happens and they are needed, if they can help, they will do so, no matter what time it is.
  • They have a strong commitment to meet deadlines.
  • They make sure deadlines, requirements, and goals are realistic and understood by the whole team.
  • They can estimate quite accurately how long it will take to develop something, although we all know that this is often very difficult. …


Are you suitable for this job?

Image for post
Image for post

As a developer, you will most days confronted with a list of challenges you have to resolve. This is often an encouragement, but, at other times, will be exhausting. Being a software developer, like other professions, has goods and bad things, and in this article, I compile what I think are the best and the worst stuff of this profession.
So, are you suitable for this job?

The goods things

  1. Work anywhere. These times have shown how important it is to have the option to work from home. I am now working from home, and I am very comfortable. A couple of times a month, I go to a summer house in another city, and I stay there working for the rest of the week. …


Coding tips for Everyone

Image for post
Image for post

In a previous article, I compile some of the JavaScript “techniques” that I usually use in my development day-to-day. In this new article, I collect 12 more techniques that are very practical in front-end or the backend(nodejs) development, but maybe they are not so well known.

1. Randoms

In the following example, I show two practical ways to generate random numbers or getting a random item from an array.

Generate a random number from a range:

let getRandomNumber = (min, max) => {
return Math.round(Math.random() * (max - min) + min);
}
console.log(getRandomNumber(0, 100));
Image for post
Image for post
getRandomNumber function.

Get a random item from an array:

let names= ['Evelyn', 'Harper', 'Jackson', 'Avery', 'Jack', 'Eleanor'…


In my opinion, obligatory knowledge

A woman with her eyes wide open
A woman with her eyes wide open
Image by Gratisography in Pexels

In this article, I compile some of the JavaScript “techniques” that I usually use in my day-to-day life, saving a lot of time. I hope you find them useful!

1. Create a Generic function

Let’s imagine that we want to develop a generic function, given some parameters and a function. This function is executed then with these parameters.
For example, a calculator with N parameters and N operations. You can easily achieve this using the spread operator and the reduce function:

function calculator(operation, ...numbers) {
return operation(...numbers);
}
function add(...numbers) {
return numbers.reduce( (total, num) => total + num, 0);
}
function subtract(...numbers) {
return numbers.reduce( (total, num) => total - num, 0)…


In a few simple steps and using Web Standards

Image for post
Image for post

In this little article will show you how to build a simple web page that will automatically locate your position, paint it on a map, and show you the text address corresponding to the map’s coordinates.

First of all, Let’s define some terms:

Geolocation identifies or estimates an object's real-world geographic location, such as a building or mobile phone.

Geocoding is the process of taking input text, such as an address or the name of a place, and returning a latitude/longitude location on the Earth’s surface for that place.

Reverse-Geocoding is the process of converting addresses (like “ 10 Downing Stree) into his latitude and longitude geographic coordinates, which you can use to place markers on a map or position the map. …


Keep in mind this briefed guide if you want to save yourself headaches.

A rocket taking off
A rocket taking off
Undraw Rocket

First of all, you need to do it? Is it for work or a personal project? It is not the same to do something out of obligation or because we feel like doing it.

  • If it is out of obligation, you will probably finish it, but if you want to develop an idea you have, you will probably not finish it if you are not very motivated and you have very clear about it.
  • Do you think it will take you a short time? Because it’s probably going to take you longer than you think.
  • Do you think it’s a great idea and that you’re going to make a fortune out of it? Maybe so, but surely something similar already exists—research before you start. …


Which one do you like the most?

A man saying hello
A man saying hello
Undraw illustration.

I am almost 100% sure that when you start programming in a language, you look for an example like the famous “Hello, world!” In this article, I compile how to do it in 31different programming languages that, for one reason or another, I have known or used in my life and a short description with some useful or curious data.

1. Java

It is a general-purpose, object-oriented programming language based on classes.

  • First appeared: 1995; 25 years ago. 😱
  • Last stable release: Java SE 15[2]. 15; September 2020; Recently.
class HelloClass{
public static void main (String[] args)
{
System.out.println("Hello, world!");
}
}

2. JavaScript

JavaScript or “Js” is a programming language that conforms to the ECMAScript specification. …


Features ready to be incorporated

JS 2021 (es12) image
JS 2021 (es12) image
JS 2021 (es12) picture

ECMAScript 2021 version is expected to be released in the next year, and now that we are finalizing this dystopic 2020 is an excellent time to review the new functionality that will bring the ES12 version.

This list is based on ECMAScript proposal four, which means that these features will be in the next version.

Index

  • String.prototype.replaceAll()
  • Promise.any()
  • WeakRefs
  • 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 is to use a global regexp.

Consider the following code where we use a regular expression to replace the “+” character with an empty…


Step by Step guide to building a Bitcoin alert system using Chrome extensions and regular JavaScript

Image for post
Image for post
Crypto portfolio image by Undraw

I’ve built a small extension for Google Chrome that automatically alerts me when the Bitcoin price goes up or down. For this purpose, the extension allows us to configure two alerts.

I’ve created it for two reasons: The first one to avoid being distracted looking at the price of Bitcoin in different pages, and the second reason because I wanted to do something fast and practical that would let me know if the price change.

The extension I have created is straightforward but useful, and I encourage you to improve it and add more options.

GitHub code: https://github.com/Kesknoren/btcAlertSimpleExtension

Let’s go.

Basic information

The first thing is to create a folder that will contain our extension and within it, a file called manifest.json

About

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