How Programmers Protect Their Eyes? 8 Ways to Care
Programmers are exposed to a longer number of hours in front of the computer. Programming can put your eyes at risk if you don’t practice healthy habits.
Programmers are exposed to a longer number of hours in front of the computer. Programming can put your eyes at risk if you don’t practice healthy habits.
Thinking about becoming a programmer can be a challenging idea in itself. Many people think you have to be smart to become a programmer. Others see programming as a hard profession. Just like many other things in life when starting out, learning how to program is hard. I know because I was there when starting … Read more
Have you been using TypeScript for a while but you are not sure how the compilation works? In this article, we are going to go in deep about this works, what does it mean to compile a code as well as understanding why TypeScript needs to be compiled. How humans communicate with computers? As programmers, … Read more
New types came with the release of TypeScript 3.0. One of them is the unknown type which we will cover in this complete guide with easy examples to follow.
Are you are new to TypeScript and want to start working on your first project? Some of the questions many developers ask are: How do you structure your types in a TypeScript project? What is the best way to structure your typings that is robust and expandable? Where to put interfaces and type aliases? and … Read more
The double question marks (??) are also called nullish coalescing operators in TypeScript. They allow to use of a default value set on the right side of the operator in case the initial value from the left side of the operator is null or undefined.
Learn how to define object types with unknown keys and known values using TypeScript by explaining with easy code examples.
Learn different ways to declare an empty object for a typed variable using TypeScript by presenting easy to follow examples
Use Union types allows you to define a variable as a string, or a number, or an array, or an object, etc. in TypeScript, which helps you define multiple types.
Learn how to use enums in TypeScript, which are a special type not found in regular JavaScript allowing us to define constants.