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. …
JavaScript doesn’t provide any memory management primitives. Instead, memory is managed by the JavaScript VM through a memory reclaim process. That process is known as Garbage Collection.
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…
Before diving deep into the subject, let’s look briefly at some browser history. Flexbox was inspired by popular UI frameworks such as Bootstrap. Its first working draft was published on July 23, 2009. Eleven years later it’s amazing to see that the support for it has just skyrocketed: Its usage is supported on about 99.2% of browsers.
That is indeed amazing. However, the Grid’s history is even more interesting. It was initially drafted by the Microsoft team and shipped to Internet Explorer 10 in 2011. The Grid Layout spec was then presented to the W3C in 2012. …
TypeScript first appeared in October 2012, and it was one of those tools that at first I didn’t like. Personally, I didn’t see the need for it. It looked like it was killing the JavaScript spirit by trying to type everything. I was not the only one, and furthermore, it was introduced by the “evil” Microsoft. Of course, mapped types were not part of the first release — we would have to wait some time for them.
Mapped types first version arrived in TypeScript 2.1, which was released nearly four years after the first release.
CSS Grid has great support amongst browsers nowadays — roughly 95% for its basic functionality. However, sometimes you can’t ignore that 5%, as you might want your web application’s layout to look great across all browsers. You might even want to use newer Grid features that have less support.
What should we do? Should we avoid using Grid in production? Should we ignore users with older browsers? Should we wait for the feature to have better coverage? Definitely not. There are plenty of fallback techniques to overcome these issues.
In this article, we will be exploring the top three techniques…
To speak about web monetization is to speak about web advertising and user data. When accessing free content you are handing your personal data or getting bombarded with ads. Most likely both.
There are a few ways to monetize your content. Let’s recap them:
It’s hard to monetize your content without damaging the user experience. Even when using a membership subscription or selling your own products you still need…
Browsing projects in GitHub is a daily task for any software developer. GitHub is well aware and is continuously trying to improve the web experience with some new features. Here are the most popular examples:
Those features are super cool and helpful. …
Typescript’s 4.2
was just released on Tuesday 23 of February 🎉. What awesome features does this release bring? What impact does it have in your daily life as a Developer? Should you immediately update?
Here, I will be going through all the most exciting new features. Here is a summary:
in
operator--noPropertyAccessFromIndexSignature
Frontend interviews are getting tougher every day. Being well prepared is key. As TypeScript demand grows by the day it’s a subject that will surely come up in your interview.
This article is a simulation of a TypeScript interview. Even if you’re not looking for a new job, you can use it to test your TypeScript knowledge. The interview is divided into two parts:
These TypeScript questions are just a warmup — an initial kick-off conversation before the live coding.
Typescript is a superset of Javascript. That means that…
Vertical alignment has been always been one of those daily problems to deal with. Back in the day, it was a constant headache for developers. Luckily, with the new layouts like Flex and Grid, it has now become a trivial task. Nevertheless, it’s always good to know your options when dealing with a problem.
Let’s look at all the tools we have available to deal with vertical alignment. Even though some are not the most useful, learning them may improve your understanding of CSS.
Not long ago, the Table layout was one of the most popular layouts used in HTML…