正在加载视频...

视频加载失败

There's no divide between TypeScript and JavaScript. TypeScript loves JavaScript. Want to use JSDoc in JavaScript? TypeScript will help you out. Want to write ZERO types? TypeScript will still try its best to help. Here's me, Anders Hejlsberg and Ryan Cavanaugh 👉 searyanc.dev on bsky to explain.

51,991 次观看 • 2 年前 •via X (Twitter)

9 条评论

Matt Pocock 的头像
Matt Pocock2 年前

@SeaRyanC These clips were taken from the upcoming TS doc - check out the trailer here!

Miraan Tabrez 的头像
Miraan Tabrez2 年前

@ahejlsberg @SeaRyanC “Bad programmers worry about the code. Good programmers worry about data structures and their relationships.” — Linus Torvalds Anti-TypeScript folk probably haven't experienced the magic of "type-driven development" — defining the types, then letting the code write itself.

Giuseppe La Torre 的头像
Giuseppe La Torre2 年前

@ahejlsberg @SeaRyanC

Sebastian Schulz 的头像
Sebastian Schulz2 年前

@ahejlsberg @SeaRyanC Yeah that is actually a good point. "If you use vscode with javascript, you actually use typescript". 👌

𝗘𝗻𝗱𝘂𝗿𝗮𝗻𝗰𝗲, 𝘁𝗵𝗲 𝗠𝗮𝗿𝘁𝗶𝗮𝗻 👨🏾‍💻 的头像
𝗘𝗻𝗱𝘂𝗿𝗮𝗻𝗰𝗲, 𝘁𝗵𝗲 𝗠𝗮𝗿𝘁𝗶𝗮𝗻 👨🏾‍💻2 年前

@ahejlsberg @SeaRyanC I thought JSDoc was the bare minimum, but I do not feel comfortable writing a code without an annotation block above it. JS, PHP, and even Python sometimes. Yeah, but I guess adding JSDoc to typescript seems unnecessary.

Simon Vrachliotis 的头像
Simon Vrachliotis2 年前

@ahejlsberg @SeaRyanC Your on-camera body language and speech delivery is immaculate, Matt. I know you did not post this video to hear this... but here you go!

bhoomige 的头像
bhoomige2 年前

@ahejlsberg @SeaRyanC Cool

Oleg | webstudio.is 的头像
Oleg | webstudio.is2 年前

@ahejlsberg @SeaRyanC Using jsdoc for CLIs in particular should be seriously considered. This way you get rid of compile step immediately.

Web Reaper | Website Engineer 的头像
Web Reaper | Website Engineer2 年前

@ahejlsberg @SeaRyanC Awesome clip Matt Everyone is likely already using it

相关视频