Syntax - Tasty Web Development Treats

Bike Shedding — Developer Opinions Explained

May 26, 2021
Delve into the whimsical world of developer opinions as common debates like event parameter naming and CSS color choices are amusingly explored. Discover the quirks of bike shedding and why it matters in coding discussions. The hosts share their preferences on themes, naming conventions, and coding styles, complete with lively anecdotes. Navigate through the playful banter on functions, coding tools, and even eco-friendly yard equipment. It's a delightful mix of insights and humor for every developer!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Event Parameter Naming

  • Use "e" or "event" for event parameters in JavaScript.
  • Avoid "evt" or "ev" for better readability and consistency.
ADVICE

CSS Variable Naming

  • Define CSS colors with semantic names like "primary" or "accent".
  • This improves theming and maintainability.
ADVICE

Color Format

  • Use HSL for defining colors, especially for transparency.
  • It simplifies adjustments to lightness and saturation.
Get the Snipd Podcast app to discover more snips from this episode
Get the app