Bob Cook retweeted
I’m super stoked to announce my new #TypeScript course! 🔥
I’ve put a lot of thought, time, and effort into this course, and I’m really proud of how it turned out. 🤓
Go check it out on @eggheadio and learn a thing or ten about TypeScript! 🙌
egghead.io/courses/advanced-…
Bob Cook retweeted
Watch the livestream now of tonight's TypeScript Berlin/Sevilla #Meetup featuring software engineer & @typescript enthusiast @TitianCernicova talking about "Understanding Variance in #TypeScript"
bloom.bg/2S2AG0Y
Bob Cook retweeted
Fantastic talk on Variance in TypeScript by my colleague @TitianCernicova!
Bob Cook retweeted
📢I wrote a blog post on how @TechAtBloomberg uses TypeScript.
"10 Insights from Adopting TypeScript at Scale"
techatbloomberg.com/blog/10-…
Bob Cook retweeted
Extracted out from a talk I gave at work xitter.cf/acutmore/status/137478…
Gave my first internal talk at @TechAtBloomberg today. Comparing TypeScript, Flow and Hegel. Was really fun to do, and got to learn a lot putting it together.
Bob Cook retweeted
A subtle aspect of type-assertions in @TypeScript I hadn't paid much attention to before: Direct assertions between literals are allowed even though they are not a super/sub type of each other. 📘
Rationale: github.com/microsoft/TypeScr…
Bob Cook retweeted
My five most popular Effective #TypeScript posts of 2020: "Good use of generics or bad use of generics?" takes the top spot! effectivetypescript.com/2021…
Bob Cook retweeted
TypeScript 4.1: new features and improvements #typescript #javascript #webdev blog.logrocket.com/typescrip…
Bob Cook retweeted
🎉 VS Code July 2020 Launch Party!
With the July release of @Code coming up next week, connect with us in our second live event! Learn what's new in VS Code and join the live Q&A.
🗓 When: August 17 @ 9am Pacific
👉Add to calendar: code.visualstudio.com/events
Bob Cook retweeted
Replying to @TypeScriptBob
brendaneich.com/2017/12/my-d…
web.archive.org/web/20200606… (cc: @aaronfrost in case he can ping Charles of whoever might restore the transcript archived thanks to the Wayback but now lost from the served version).
Also of course xitter.cf/awbjs/status/127149289… by @awbjs & me from HOPL-4 (2020).
HOPL proceedings includes the definitive copy of “JavaScript: The First 20 Years” by me and @BrendanEich. Differs from preprint in minor corrections and formatting changes—plus a bonus surprise. Preprint has been downloaded over 20000 times since March.
dl.acm.org/doi/abs/10.1145/3…
Bob Cook retweeted
The most unrealistic thing about Star Trek is how good the engineering team is at estimates.
Bob Cook retweeted
It’s been a long time coming, think this is my best work so far
xitter.cf/typescript/status/1290…
New site, who ‘dis?
Today we've launched the new TypeScript website and branding, find out what's new by @orta on the TypeScript blog:
- devblogs.microsoft.com/types…
- typescriptlang.org
Bob Cook retweeted
Since ES2020 you can use Promise.allSettled. It returns a promise that resolves after all of the given promises have either fulfilled or rejected, with an array of objects that each describes the outcome of each promise.
Bob Cook retweeted
ECMAScript excitement 😉
TC39 Stage-3 Top Level Await is now enabled in @nodejs master branch, heading for Node 14.8.
Congrats to @MylesBorins et al.
2ality.com/2019/12/top-level…
Replying to @MylesBorins
🎉🎉🎉🎉🎉🎉🎉
Top-Level Await is now unflagged on @nodejs master
🎉🎉🎉🎉🎉🎉🎉
github.com/nodejs/node/commi…
Bob Cook retweeted
Great talk about #Deno and why #Rust was used to built it.
@denoland_dev #rustlang #NodeJS #Typescript #Javascript
youtu.be/lcoU9jtsK24
Bob Cook retweeted
This is a great article on how JS engines achieve high performance! Hint: types are involved ☺️
I wrote a detailed post documenting how JavaScriptCore uses speculation to infer types. webkit.org/blog/10308/specul…
Bob Cook retweeted
😱 Records & Tuples is an awesome TC39 proposal
🤯 It could have a huge impact on JS, and React
🐛 issues it could help to solve:
- performance
- behavior
- more explicit API surface
Discover how Records & Tuples will improve React:
sebastienlorber.com/records-…
Bob Cook retweeted
I've seen several folks complain about "missing return type" errors, supposedly from TypeScript.
Except that _isn't_ TS itself. That's a lint rule.
I see how explicit return types can be useful, but that lint rule seems excessive.
Kill any lint rules that don't spark joy.
Bob Cook retweeted
Replying to @SeaRyanC
@SeaRyanC Are you those source for this rule from the new TS handbook? "Type Parameters Should Appear Twice" Do you know who is? I'm drafting a blog post explaining it in a little more detail and want to give proper credit. It's a great rule! microsoft.github.io/TypeScri…
Bob Cook retweeted
I just set up a single page application with react, typescript, and SSR + production deployment in under 5 minutes total. 😱 It's getting even smoother. #nextjs #react #typescript @vercel









![Screenshot of some TypeScript showing that `[true] as [false]` is not allowed but `true as false` is.](https://pbs.twimg.com/media/Ezw-8qdWUAAv_d1.jpg?name=small&format=webp)


























