Why Static Typing Came Back • Richard Feldman • GOTO 2022

Channel:GOTO Conferences · Length:52:00 · Published:2023-06-05 · Views:157180

Watch on YouTube

Summary

Richard Feldman's GOTO Copenhagen 2022 talk on why dynamic languages like Python, Ruby, PHP and JavaScript rose in the 1990s and why each now has a popular static type checker. It argues that modern static typing recovers the advantages that made dynamic languages attractive.

Why HN recommends it

HN commenters cite it as a clear account of the trade-offs between static and dynamic typing and why the industry is swinging back to types.

It gives the major reasons why one would prefer one over the other — HN, 2023

Programming language design · Python, Ruby & scripting languages · Web development

Subtitles (excerpt)

[Music] all right thank you so much this is why static typing came back I'm Richard Feldman so back at the beginning of my career I did a lot of Java programming I spent a lot of time looking at a screen like this an IDE with all sorts of uh various things going on on it and then later on in my career I spent some more time doing dynamically typed programming using text editors that looked something more like this and what I discovered after having a lot of experience with statically typed languages and was dynamically typed languages was that I had a pretty strong preference for dynamically typed languages I just felt more productive I felt happier I felt like things worked better um so imagine my surprise when years later it kind of seemed like these dynamically typed languages that I loved that had been getting so popular had sort of faded away in favor of stately type languages which seemed to be taking over so this is the red monk programming language rankings for January 2022. I left off CSS and shell because they're not really the types of programming that we're talking about here um this is a company that does among other things programming language rankings uh based on like popularity and uh and I think

On Hacker News

I think the suitable followup to this is the Richard Feldman talk, "Why Static Typing Came Back."[1] It gives the major reasons why one would prefer one over the other, and makes the case that static types can provide most of the actual benefits of dynamic languages, but the reverse is not true. [1]: [VIDEO] — raphlinus, 2023-07
Yeah, Rich Feldman has a good talk on this, entitled Why Static Typing Came Back[1]. It makes a good argument that static typing can recover most of the advantages traditionally accounted to dynamic typing. Rapid iteration you can get from incremental compilers, being concise you can get from powerful type inference, etc. Conversely, the advantages of static typing (largely boiling down to increa… — raphlinus, 2023-09
I saw a talk that touched on this recently: [VIDEO] He explains that dynamically-typed languages like Python, Ruby, and JS became popular in the 90s because they offered a fast feedback loop for website building, and they didn't need an IDE or compilers, which were slow (and often not free). It ended up not being worth trading your development time for the performance increase when all your users… — dansalvato, 2023-07
I believe Dart was originally gradually typed, and then abandoned the gradual typing for strict-typing-by-default? That doesn't quite sound properly type-safe to me although still safer than how Javascript is by default. My only reference is a memory of this talk by Richard Feldman but I might be wrong or misremembering. [VIDEO] — zogrodea, 2024-04

Related videos