Why do web developers use the
px unit so blindly? It is just a bad habit? Is it because of a lack of knowledge of other units? Maybe because the design teams rely on
pt for their mocks? It is unclear why the pixel is the current go-to unit for most teams.
Maybe, the main reason is that it looks simple and convenient. Intuitively, we think we understand this unit because it looks as though it is mapping our pixel screen.
px unit is something that gets you started very easily, but it turns into a problem…
Being a good programmer is a mix of skills and some common sense. It is all about being pragmatic and knowing what is the solution that fits better your problem. When facing a challenge, there are some software principles that will guide you in choosing the most correct approach.
Those are a set of guidelines every developer should know and revisit from time to time. Think about them as your secret sauce when programming.
Consistently applying those principles will make your transition from mid to senior software engineer easier. …
Are you investing time in improving your Typescript skills? Are you trying to make the most out of it? Sometimes by not using the right TypeScript’s features and not following its best practices, there can be a lot of code duplication and boilerplate.
In this article, we will be looking at the five…
Since we can’t force it to run, how do we know it will work properly? What do we know about it?
Does that mean we don’t have to worry about resources and memory…
Their release process is composed of five stages. Since 2015, they have been doing yearly releases. They normally happen around springtime. The next proposal date for approval is on June.
There are two ways…
Back in 2011, Dart was unveiled at the GOTO conference in Aarhus, Denmark. It didn’t have a great start. It was seen as a further fragmentation of web development. Google’s plans were to include it as part of the Chrome VMs. It was uncertain if other vendors would adopt it. It was born with the intention of solving a lot of issues that were later addressed by the new EMACScript releases.
It wasn’t until Flutter’s release in 2018 that Dart started to gain traction again. Flutter is an open-source UI software whose principle is “Write once, run anywhere.” With one…
TypeScript 4.3 was released on May 26 🎉. What are the top features released? Will they boost our productivity? Should we immediately update?
In this article, I will be going through all the most exciting ones. Here is a summary:
One of the coolest features in this release is actually something that will now be built into your editor: support for the
Now, when using the…
Visual Studio Code was released on November 18, 2015. Fast-forward five years, and it has become one of the most successful editors around. It is released under the MIT license, which makes it free to use. Its keys to success are:
Currently, VS Code is available natively on the following platforms:
It can also…
Mapped types are by far the best feature in the TypeScript language. They let you create new types base on existing ones and some rules that you define. That does lead to a more readable and declarative code base.
Keeping your code DRY is one of the principles you should follow, and mapped types help you with that. You will find that there is a massive boilerplate reduction. You have to code less as you can reuse more.
Mapped types are a bit of a scary feature to look at first. Especially if there is a knowledge gap. So, before…