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.
A few years ago, I led a project that ended in total disaster. It was not only my fault, but I was in charge, and in the end, I had to tell my bosses that it was better to close the project because we weren’t going to get anywhere, and the hours had skyrocketed.
The project initially had 9600 hours assigned to it at a fixed price, and although it seemed like a lot of hours, no one in my team had estimated them. This was the first big mistake, accepting the responsibility of something without making the previous analysis.
…
Not long ago, I decided to change jobs. I had a “good job”: well paid, comfortable, and with a free schedule. The decision was not easy because I am no longer twenty years old, but I did it. In this article, I tell how was my last day of work: A mixture of sadness and fear to leave a “good” job and joy to start a new project.
Basically, because I was bored and didn’t want to regret not having done it in the future, doing this is complicated, especially if you have responsibilities and bills to pay. Still, luckily…
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…
Progressive Web App support for YouTube.com was added recently, and you can install it now with a couple of clicks from Google Chrome.
A PWA is an enhanced version of the web applications we all know and is a type of application somewhere between a normal web application and a native application.
The main features of a PWA are:
This collection contains a set of (> = ES6) algorithms to work with Numbers. The truth is that I thought it would take less time to write this post, but in the end, it took me a little more time to find the optimal (or at least the simplest) solution for each case.
I hope it will be useful to you!
const reverseANumber = n => {
//1.
let sing = Math.sign(n).toString();//2.
n = n.toString().replace('-','').replace('+','');//3.
return sing.concat(n.split("").reverse().join(""));
};
console.log(reverseANumber(1000));
console.log(reverseANumber(-1000));
console.log(reverseANumber(0001));
console.log(reverseANumber(12345));
As you probably already know, a JavaScript array is an object that represents a collection of elements. This article explains how to use the new methods that have been incorporated into JavaScript for handling arrays.
I hope you find it useful.
Let’s start!
The reduceRight() method executes the callback function once for each element present in the array, receiving four arguments: the initial value (or value from the previous callback call), the current element's value, the current index, and the array over which iteration is occurring.
arr.reduceRight(callback(accumulator, currentValue[, index[, array]])[, initialValue])
Sum array values:
const sum = [0, 1, 2…
JavaScript has its detractors and followers but what is clear is that it is one of the most used languages nowadays and, I would say, funny because of the great number of tricks you can apply to it. In this article, I gather some fundamentals that you should know and a few tricks and tips.
Many times, you can learn more from a short phrase than from a whole book. In this article, I compile 38 quotes that contain many years of experience in their words and from which we can learn a lot.
If you have been in this world for years, surely when you read them, they will make you smile knowing that they are true.
Enjoy them!
By Robert C. Martin.
I agree. The code, unlike the comments in it, never misleads. Besides, the code always does what it says. …
In this article, I will show you how to compile a TypeScript program to WebAssemby that prints the factorial of a number.
I will write it using TypeScript and then compile it with AssemblyScript, which compiles a strict variant of TypeScript to WebAssembly(Wasm) using Binaryen.
WebAssembly is current an MVP and only handles integers and floats and doesn’t natively support strings or other types. For this reason, instead of the typical HelloWorld that uses Strings, I will write a function that takes in a parameter of the numerical type and that returns its corresponding factorial.
One of the most common…
Software engineer - software Enthusiast - Sci-Fi writer.