Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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.

52,002 görüntüleme • 2 yıl önce •via X (Twitter)

9 Yorum

Matt Pocock profil fotoğrafı
Matt Pocock2 yıl önce

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

Miraan Tabrez profil fotoğrafı
Miraan Tabrez2 yıl önce

@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 profil fotoğrafı
Giuseppe La Torre2 yıl önce

@ahejlsberg @SeaRyanC

Sebastian Schulz profil fotoğrafı
Sebastian Schulz2 yıl önce

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

𝗘𝗻𝗱𝘂𝗿𝗮𝗻𝗰𝗲, 𝘁𝗵𝗲 𝗠𝗮𝗿𝘁𝗶𝗮𝗻 👨🏾‍💻 profil fotoğrafı
𝗘𝗻𝗱𝘂𝗿𝗮𝗻𝗰𝗲, 𝘁𝗵𝗲 𝗠𝗮𝗿𝘁𝗶𝗮𝗻 👨🏾‍💻2 yıl önce

@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 profil fotoğrafı
Simon Vrachliotis2 yıl önce

@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 profil fotoğrafı
bhoomige2 yıl önce

@ahejlsberg @SeaRyanC Cool

Oleg | webstudio.is profil fotoğrafı
Oleg | webstudio.is2 yıl önce

@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 profil fotoğrafı
Web Reaper | Website Engineer2 yıl önce

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

Benzer Videolar

Anders Hejlsberg (Anders Hejlsberg) is a living legend: he created Turbo Pascal, Delphi, C# and TypeScript (and today TypeScript is the most-used programming language, globally, as per GitHub.) Timestamps: 00:00 Intro 02:48 How Anders got into programming 05:40 Building his first compiler 07:44 Turbo Pascal 12:25 Delphi 14:53 Joining Microsoft 19:41 Building C# 29:11 Async/await 34:01 The rise of JavaScript 37:52 Building TypeScript 42:58 How the TypeScript compiler works 48:30 JavaScript’s strengths and weaknesses 52:18 How Anders uses AI 56:03 What language features work well with AI 1:02:49 How software craftsmanship is changing 1:07:49 Performance and efficiency 1:09:29 Anders’ tool stack 1:11:30 A 30-year career at Microsoft 1:13:40 Book recommendation Brought to you by: Antithesis – verify your system’s correctness without human review or traditional integration tests – and avoid bugs or outages. WorkOS – Everything you need to make your app enterprise ready. turbopuffer – a vector and full-text search engine built on object storage. It’s fast, cheap, and extremely scalable. Four things that stood out to me: 1. “10x better for 1/10th of the price” is a proven winner. This is what Turbo Pascal did: it sold for $49.95 when competing compilers cost $500, and it was faster and more interactive than competitors’ products. Conveniently, the low price tag also killed off piracy 2. C# might have not existed without a famous court case. Microsoft originally hired Anders to architect its Java tools (Visual J++), but the Sun versus Microsoft lawsuit (1997-2001) meant Microsoft could not build on top of Java, as the company that owned Java’s IP (Sun) sued MS for alleged unauthorized changes to the Java language. Microsoft realized it had to build a new language that combined VB’s productivity with C++’s power. This led to C# and .NET. 3. TypeScript exists because Anders refused to build Script# for the Outlook .com team. Microsoft’s Outlook .com team asked Anders’ C# team to productize “ScriptSharp,” a language to cross-compile C# to JavaScript. Anders and the C# team pushed back, suggesting that a better approach was to fix JavaScript. Anders felt strongly that to be attractive to the best-of-breed developers in the JavaScript ecosystem, you want people to write JavaScript, and not another language like C#. 4. Designing a programming language is a 10-year play. As Anders puts it: “Version one is great, but has all sorts of issues. You’ve got to do version two, but it’s not until version three that it really starts to be great. Then you’ve got to convince people to adopt it.”

Gergely Orosz

129,096 görüntüleme • 2 ay önce