Episode #474 from 1:06:36

Dynamic typing

I love that we're talking about Ruby so much and what a beautiful code is and what a beautiful programming language is. So one of the things that is I think implied maybe you made explicit in your descriptions there is that Ruby is dynamic typing versus strict typing. And you have been not just saying that it's a nice thing, but that you will defend dynamic typing to the death. That freedom is a powerful freedom to preserve. It's the essence of what makes Ruby Ruby. This is why I don't fully understand when people call for Ruby to add static typing because to me it's the bedrock of what this is. Why would you want to turn one of the most beautiful languages into something far uglier? This is one of my primary objections to static typing. It's not just that it limits you in certain ways. It makes metaprogramming harder. I write a bunch of metaprogramming. I've seen what it takes to do metaprogramming in TypeScript. That was actually one of the things that just really sent me on a tear of getting meta or getting TypeScript out of some of the projects that I'm involved with.

Why this moment matters

I love that we're talking about Ruby so much and what a beautiful code is and what a beautiful programming language is. So one of the things that is I think implied maybe you made explicit in your descriptions there is that Ruby is dynamic typing versus strict typing. And you have been not just saying that it's a nice thing, but that you will defend dynamic typing to the death. That freedom is a powerful freedom to preserve. It's the essence of what makes Ruby Ruby. This is why I don't fully understand when people call for Ruby to add static typing because to me it's the bedrock of what this is. Why would you want to turn one of the most beautiful languages into something far uglier? This is one of my primary objections to static typing. It's not just that it limits you in certain ways. It makes metaprogramming harder. I write a bunch of metaprogramming. I've seen what it takes to do metaprogramming in TypeScript. That was actually one of the things that just really sent me on a tear of getting meta or getting TypeScript out of some of the projects that I'm involved with.

Starts at 1:06:36
People and topics
All moments
Dynamic typing chapter timestamp | DHH: Future of Programming, AI, Ruby on Rails, Productivity & Parenting | EpisodeIndex