On a mild personal note, I'm finally (mostly) moving from X to Bluesky... and also calling it X instead of Twitter now. Woop. 🦋
joshuakgoldberg.com/blog/why…
New Learning TypeScript article: Branded Types 📛
TypeScript is great, but what happens when you want even more specificity than what it allows? Say, differentiating sanitized and un-sanitized strings, or positive integers from all numbers?
learningtypescript.com/artic…#typescript
This article was long in the making, but I'm happy with how it came out (& relieved it's finally done). Branded types are surprisingly useful when they're applicable!
New Learning TypeScript article: Branded Types 📛
TypeScript is great, but what happens when you want even more specificity than what it allows? Say, differentiating sanitized and un-sanitized strings, or positive integers from all numbers?
learningtypescript.com/artic…#typescript
New Learning TypeScript article: Branded Types 📛
TypeScript is great, but what happens when you want even more specificity than what it allows? Say, differentiating sanitized and un-sanitized strings, or positive integers from all numbers?
learningtypescript.com/artic…#typescript
ALT The books "Fluent React: Build Fast, Performant, and Intuitive Web Applications" by Tejas Kumar and "Learning TypeScript: Enhance Your Web Development Skills Using Type-Safe JavaScript" by Josh Goldberg.
New Learning TypeScript article: Why TypeScript Doesn't Include a throws Keyword 🙋
It's often requested for TypeScript, but comes with downsides that make it ill-suited for the JavaScript ecosystem. Read on to learn more! 📖
learningtypescript.com/artic…#javascript#typescript
🎃 New Learning TypeScript article for Halloween: Narrowing Function Parameters With Rests And Tuples. A scarily useful technique for the occasional function with dependent parameter types!
What does that mean? What are the alternatives? Read within! 👻
learningtypescript.com/artic…
📝 New Learning TypeScript article: Why TypeScript Doesn't Follow Strict Semantic Versioning
A juicy topic, with info on:
* What & why of semver
* Why strict semver is impractical for TypeScript
* How TypeScript adheres to a looser semver instead
learningtypescript.com/artic…
A lot of you like TypeScript. How do you deal with the fact that it does not respect semantic versioning? This seems so much of a deal breaker to me... and I get bitten by it every single time I use TS.
This one's a little spicy 🌶️. looking forward to rage engagement from it. 😄
Thanks in particular to the folks who gave feedback: @SeaRyanC, @drosenwasser, Kenny at Codecademy, and @CodesChrissy!
📝 New Learning TypeScript article: Why TypeScript Doesn't Follow Strict Semantic Versioning
A juicy topic, with info on:
* What & why of semver
* Why strict semver is impractical for TypeScript
* How TypeScript adheres to a looser semver instead
learningtypescript.com/artic…
Finished @JoshuaKGoldberg Typescript book a couple weeks ago. It was amazing! Very well written and beginner friendly 💜. I left a small review on my website.
kevinzunigacuellar.com/books…
🎯 New Learning TypeScript article: Why Increase Your TSConfig 'target'
Let's cover explains:
* The benefits of using a relatively recent compilerOptions > target
* How to choose as recent a target as your users can handle
Details within: 👉 learningtypescript.com/artic…