Three Rubyists having conversations and interviewing others about Ruby and web development.
There's A TypeScript In My Boot!
On today’s episode, Jason, Chris, and Andrew start off with a captivating discussion that starts with bleeping offensive content, reminiscing about the era of Walkman’s, and hearing about Andrew’s absence from social media. The conversation then shifts to the announcement of the removal of TypeScript and exploring the challenges and community dynamics surrounding it. The guys share their experiences with TypeScript, communication challenges in open source projects, and the importance of maintaining a positive and respectful community. Additionally, they touch on recent announcements related to software source code and a humorous incident involving law enforcement. They also have discussions on React, Active Model Dirty API, and the benefits of using type checking tools like TypeScript and Sorbet in Rails applications. They also explore methods for improving code clarity and performance enhancements for sending notification emails. Hit download now to hear more!
[00:00:33] Andrew talks about having a Walkman and his absence from Twitter and social media.
[00:03:13] The removal of TypeScript comes up and how DHH declared it dead this week. Jason mentions the removal of TypeScript from Turbo and its impact an Andrew anticipates downstream effects of removing TypeScript.
[00:08:01] Jason describes the controversy surrounding DHH’s blog post about removing TypeScript, and Chris comments on the toxic behavior and reactions from the TypeScript community.
[00:10:19] Chris talks about his experience with TypeScript and how struggled with it while trying to make a PR to Stimulus. He also expresses concerns about the lack of open communication in some Rails JavaScript projects.
[00:12:31] Andrew shares that he feels pretty good about the decision and discusses the potential benefits of the removal of TypeScript, making contributions and reviews easier for Rails developers who are not familiar with TypeScript.
[00:13:20] Jason empathizes with Marco, one of the maintainers, for not getting a chance for discussion and mentions the potential benefits of using JS doc as a compromise.
[00:14:24] Chris talks about the toxicity he witnessed during the TypeScript removal discussion and emphasizes the importance of maintaining a positive community. Andrew points out that toxicity can exist in both the Rails and JavaScript communities, urging everyone to work towards a more positive environment.
[00:18:22] Chris announces a recent announcement by Basecamp, suggesting they might be selling software with source code included.
[00:21:47] Chris shares a wild week he had when a sheriff showed up at his door looking for him. Was it because he wasn’t using TypeScript? Also, Andrew tells us what happened when two detectives showed up at his house due to an address mix-up.
[00:24:22] Andrew mentions that he’s been writing a lot of React lately and is upgrading his database.
[00:25:47] Andrew shares an experience with the Active Model Dirty API, initially struggling to understand it but eventually realizing how it works.
[00:28:27] Chris and Andrew discuss the idea of converting all of Rails to Sorbet and how it might reveal inconsistencies and improve code clarity.
[00:30:36] Andrew discusses using yard docs with parameter types in methods to understand complex code areas better and how it can help clarify data flow in an application.
[00:31:24] Jason mentions he’s been working on speeding up the sending of notification emails, discusses working on Podia’s community feature, and talks about implementing dynamic URLs and substitution data based on user types to batch send emails through their service.
[00:34:20] The guys discuss the concept of feature flags, their potential for various case uses, and the performance considerations when relying on Redis.
[00:38:49] The conversation transitions with the guys talking about traveling to Amsterdam for Rails World and what they want to do there.
Panelists:
Jason Charnes
Chris Oliver
Andrew Mason
Sponsor:
Links: