Bob Cook

442 posts

Bob Cook banner
Bob Cook

Bob Cook

@TypeScriptBob

I manage amazing people here at Bloomberg. Sometimes I even write code. And when I do, I write it in TypeScript! Opinions are my own.

London शामिल हुए Ekim 2019
174 फ़ॉलोइंग166 फ़ॉलोवर्स
Bob Cook रीट्वीट किया
Marius Schulz
Marius Schulz@mariusschulz·
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/advanc…
English
6
79
380
0
Bob Cook रीट्वीट किया
Ashley Claymore
Ashley Claymore@acutmore·
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/Type…
Ashley Claymore tweet mediaAshley Claymore tweet media
English
0
2
6
0
Bob Cook
Bob Cook@TypeScriptBob·
@zahrataiba These look good! I just ordered both.
English
1
0
0
0
Kent C. Dodds ⚡
Kent C. Dodds ⚡@kentcdodds·
Please stop using single character variable names for your generic types with @typescript. It is NOT helpful AT ALL. I don't know how this happened, but it's everywhere and NEEDS TO STOP. Thank you, Everyone using your type definitions ❤️
English
95
111
1K
0
Bob Cook
Bob Cook@TypeScriptBob·
@bruno__quaresma You can use a type predicate such as : function isValue(value : Value | undefined) : value is Value { } function main(value: Value | undefined) { if (isValue(value)) return Object.keys(value).map(a=>a); }
English
0
0
1
0
Bruno Quaresma
Bruno Quaresma@bruno__quaresma·
#typescript folks how can I do better with this code? If I remove the "as" Typescript is not able to infer the correct type but use "as" looks quite buggy. #code/C4TwDgpgBAaghgGwK7QLxQEoQMYHsBOAJgDwDOw+AlgHYDmANFOVXQHwBQ7AZktdsJVzUolUgFEAtmFAB5fAFVqhCFxoRCACgBuiFAC5Yu6AB8ovZaurqAlFADe7KFHwRgSfMICEO5CdMyAIwArHGAAOgBrCBBSbSNrMIQIOmAACyhUTKgABnYAX04ePgEhKAk4GjjfA3hfKFNzFTVCWwcnSi4NUUlpEDlFC2aqlGtWxydnV3dqcYLxlzcPKECQ-kjo2J8UKDhSQ18E8rANOAzWHet8oA" target="_blank" rel="nofollow noopener">typescriptlang.org/play?ssl=12&ss…
Bruno Quaresma tweet media
English
1
0
1
0
Bob Cook
Bob Cook@TypeScriptBob·
@lumpej Love the shirt but I would suggest the source of all problems rather 😀
English
1
0
0
0
Bob Cook
Bob Cook@TypeScriptBob·
Oh the temptation!
Bob Cook tweet media
English
0
0
1
0
Titian Cernicova-Dragomir 💙💛
Titian Cernicova-Dragomir 💙💛@TitianCernicova·
Very excited to announce I'll be joining @TechAtBloomberg, starting at the beginning of next year, in the JS/TS Infrastructure & Tooling Team. Looking forward to making even more contributions to TypeScript! 😁
English
15
2
89
0
Bob Cook रीट्वीट किया
Visual Studio Code
Visual Studio Code@code·
🎉 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
Visual Studio Code tweet media
English
6
103
446
0
Bob Cook रीट्वीट किया
BrendanEich
BrendanEich@BrendanEich·
@TypeScriptBob @AkiraMakes brendaneich.com/2017/12/my-dot… web.archive.org/web/2020060608… (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 twitter.com/awbjs/status/1… by @awbjs & me from HOPL-4 (2020).
Allen Wirfs-Brock@awbjs

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.114…

English
3
2
6
0