Have you ever heard about TypeScript types narrowing? Have you ever seen such an error in your TypeScript code:
Even tough, you really knew that the
name property exists on the
person object? How did you solve this problem? Did you cast the variable to the expected type?
If the answer to at least one of those questions is yes, you might read on. There are better ways of determining the type of local variable in TypeScript. What’s more, TS compiler does a lot of stuff for us by leveraging types narrowing. In this article, we are going to see how it works and how it can be useful 🙂
Some time ago we talked about 7 reasons to start using Test Driven Development. As soon as you learn it and start practicing it on a daily basis, it might be tempting to always be TDDing. However, TDD is not always a good fit. There are some cases when it might not be worth using TDD. Let’s explore them today 🙂
If you’re thinking about working remotely as a digital nomad, Yumasoft is one of the companies allowing that. We leverage remote work to make the most of it, also allowing our employees to travel.
However, as with everything, being a digital nomad has its dark sides. In today’s article, I’m exploring the most annoying digital nomads problems. Read on to be well-prepared for this lifestyle before you decide to take it on! 😉