Why it's better to be unhappy

Tim Mouskhelichvili
Tim Mouskhelichvili
1 minute to read

Hello, I hope you and your family are doing well.

Provoking title, huh?

But it's true. Think about it.

When you are happy, what do you want to do? Nothing.
When you are satisfied, what do you want to build? Nothing.

And why would you?

You are satisfied with your life, so why would you change anything?

You are happy with your life, so why would you seek discomfort?

That's why to do something great; you need to be unsatisfied.

To build something great, you need to be hungry.

You must be hungry.

You must be unhappy with your current situation.


Stay hungry, my friends.

Tip of the week

If you've been writing TypeScript code for long enough, you've undoubtedly seen occurrences of the double question mark operator.

But what is it?

The double question mark operator or nullish coalescing operator helps assign a default value to a null or undefined TypeScript variable.

Here is an example:

typescript double question mark

As you can see, since myVar is null, it fallbacks to ‘default’.

Cool right? Learn more about the double question mark operator here.

Article of the week

Today's article will teach us how to merge objects in TypeScript. Check out the tutorial here.

YouTube video

My latest YouTube video is out. It explains how to add the for attribute on a label in React. Check it out here.

Thank you for reading.

See you next week!

Tim M.

Comments (0)
Reply to: