Syntax - Tasty Web Development Treats

938: Hot Takes + Bike Shedding

85 snips
Sep 17, 2025
Wes and Scott tackle hot topics like the classic tabs vs. spaces debate and the merits of snake_case over camelCase. They delve into the importance of explicit variable naming and discuss the balance between readability and simplicity in code. There's a lively conversation about rebasing versus merging in version control, along with insights on descriptive coding practices. Listeners will enjoy the humorous exchanges as they navigate the nuances of coding conventions and preferences in a light-hearted manner.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Prefer Function Declarations

  • Declare functions with the function keyword for clarity and to use hoisting intentionally.
  • Prefer declarations unless you have a specific reason to assign a function to a variable.
ADVICE

Be Explicit For Public Types

  • Make TypeScript types explicit for public APIs and places where AI or other devs will consume them.
  • Lean on inference for internal code where brevity aids development and types remain clear.
ANECDOTE

Sentry Helps Debug AI Issues

  • Wes and Scott mention Sentry's new features as helpful for AI-driven projects and debugging.
  • Sentry can surface issues and even submit pull requests to fix problems automatically.
Get the Snipd Podcast app to discover more snips from this episode
Get the app