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

Use Semantic CSS Variables

  • Prefer semantic CSS variables like --primary for UI roles instead of literal color names that may change.
  • Map semantic variables to color tokens so you can update themes without renaming usage.
INSIGHT

Snake Case Can Aid Differentiation

  • Snake_case can help visually distinguish your code from built-in camelCase APIs and improve readability for some developers.
  • Choice often comes down to team convention and personal taste rather than technical necessity.
ADVICE

Favor Named Exports

  • Prefer named exports so imports remain explicit and refactors won't break other files unexpectedly.
  • Use default exports only when a file conventionally exposes a single primary item, like a route or page.
Get the Snipd Podcast app to discover more snips from this episode
Get the app