Загрузка видео...
Не удалось загрузить видео
Branded types have saved my ass so many times
18,036 просмотров • 1 год назад •via X (Twitter)
Комментарии: 7

that’s great when you have time to create those. with the recent hype around vibe coding, you either ship a new SaaS or create branded types - that's the pace nowadays

Curious about the best strategy for volatile markets? Dive into my free Substack post where I use a Hidden Markov Model (HMM) to sidestep market turbulence and protect the portfolio.

I use branded types for IDs in a project at work, it's been great. Saved our ass a few times where using plain "string" types wouldn't have caught misuses.

Tried introducing this to my workplace. It felt very reminiscent of the JavaScript vs typescript debate. “Too much overhead”, “does it really save time”, “is it worth the effort” etc

this works really well if you combine it with Zod’s brand method, and create a function that can convert a primitive input to its branded version

This is the most unclear video you ever made… and you’re the one who explained the string or literal typing. Just saying

What felt unclear?
Похожие видео
I have heard this so many times from lifetime friends.⚡️⚡️
Machiavelli
81,952 просмотров • 1 год назад
