
Backend engineer for MMORPG Building AI agents that actually work Indie dev by night 👨💻 Backend / Realtime / Infra 🤖 IoT Enthusiast • 🎬 YT Content Creator
YouTube 📹 →
Joined December 2013
- Tweets589
- Following133
- Followers209
- Likes726
Pinned Tweet
My new serverless video is now live!
Learn how to build REST API with tests (TDD), OpenAPI 3.0 specs (auto-generated from the code), and deployment to AWS.
youtu.be/Ky-5AVA5o4s
206
Tomasz retweeted
2000s: Learn to code
2010s: Learn to code
2020-2022: Learn to code
2023-: Learn to plumb a sink, frame a wall, pour concrete, farm
How to not worry about semicolons and code formatting ever again with Prettier
{ by @t_tarnowski } from @hashnode
#javascript #typescript #vscode #developertools #vscodeextensions blog.tomasztarnowski.com/how…
2
TypeScript Tip #10
I have an array of strings and I’d like to insert a number value there.
How can I do it with TypeScript?
Answer: you need a new array of the union type “string | number”
And that’s it.
Do you wanna try this code on your own?
Have a look at my sandbox repository.
github.com/ttarnowski/typesc…
↓
1
Thanks for reading!
I write these tips to help other developers to learn TypeScript.
Don't want to miss any of the content?
Follow me (@t_tarnowski).
Do you want to help others as well?
Spread the info:
- retweet the first Tweet
1
Tomasz retweeted
Five Feynman rules for Life: 🧠
i) Take mistakes as Lessons.
ii) Focus is the key.
iii) Study hard what interests you the most.
iv) Don't worry about what other people think.
v) Skills are more valuable than your grades.
TypeScript Tip #7
Switch/case conditional like if/else needs to operate on comparable values/variables.
If the type of a value given to “switch” doesn’t match the type of a value in the “case” the code won’t compile:
Tomasz retweeted
Entrepreneurship is 20% acting on advice, 80% making it up as you go, and 5% breaking the rules.
You wanna get better as a developer?
Work on your adaptation skills.
Learn to read and understand code quickly.
Practice different programming paradigms.
Train to pick up new languages and frameworks fast.









