Episode Summary
Executive Summary: Syntax hosts Wes Bos and Scott Tolinsky dissect a wide range of developer “bike shed” opinions—small choices that don’t usually change outcomes but strongly affect readability, workflow, and comfort. They compare conventions like event parameter names, CSS variable naming, exports, import ordering, editor choice, syntax style, and theme preferences, often disagreeing but converging on a shared principle: optimize for clarity, maintainability, and personal productivity, not dogma.
Main Topics: Developer bike-shedding as a useful but non-critical discussion: The episode frames many coding preferences as low-stakes opinions that developers obsess over, while warning listeners not to start arguments over them. Naming conventions in JavaScript and CSS: They compare event parameter names, CSS variable naming by literal color vs intent, and verbose vs short variable names, generally favoring clarity and intent-driven names. Exports, imports, and project structure: The hosts debate named vs default exports, import ordering, and whether index.js files help or hurt discoverability and maintainability. Editor and tooling preferences: They discuss VS Code vs WebStorm vs Vim, plus linting/formatting tools that automate style choices and reduce cognitive load. Syntax and style preferences in code: The episode covers HSL vs RGB/hex, indentation-based syntax, chaining array methods, explicit vs implicit returns, and regular functions vs arrow functions. Visual comfort and readability choices: They compare dark mode, ligatures, fancy fonts, line length, and type-style cues as subjective settings that affect how readable code feels.
Key Arguments: Short or conventional identifiers like e/event are acceptable when the meaning is obvious, but EVT/EV are seen as unnecessary and less clear. Intent-based CSS custom properties (primary, accent, etc.) make theming and site-wide overrides easier than naming everything by literal color. Named exports are preferred because they are explicit, better for refactoring, and reduce import/rename mismatches; default exports are still needed in some cases like React.lazy. Import sorting by package/local/relative order improves readability and can be safely automated by editor/lint rules. Foo/bar/baz examples are disliked because they obscure real-world learning and make concepts harder to connect to practical use cases. Dark mode, ligatures, fonts, and editor themes are highly subjective; what reads better for one developer may be noise for another. Long descriptive variable names are favored because they reduce comments and improve error messages, while one-letter names are mainly acceptable in short-lived local transforms. VS Code is preferred over Vim/WebStorm for day-to-day work because it is comfortable, visual, and sufficiently powerful without extra cost or steep learning overhead. Regular function declarations are preferred for most named functions, while arrow functions are still useful for callbacks and concise inline logic. Implicit returns are fine for short one-liners, but explicit returns are better for multi-line functions where debugging and intermediate variables matter. Index.js files are rejected for most component folders because they are hard to search and create ambiguity; barrel files are the main exception.
Data Points: Number of sponsors mentioned: 3 - Prismic, LogRocket, and Mux are each promoted during the episode. Free trial length for LogRocket: 14 days - The hosts mention signing up at logrocket.com/syntax for a 14-day free trial. Approximate audience feedback on event parameter naming: 60–70% use E - Wes says a Twitter poll showed most developers use E, with most of the rest using Event. Max line length used by the hosts’ team: 120 - Scott says their compromise limit was set to 120 characters, though he finds it too wide. Number of chains discussed as a practical comfort threshold: 2–3 - Scott says he is comfortable chaining map/filter/reduce up to about three steps. Course sale discount: 50% off annual subscriptions - Promoted for Level Up Tutorials during the ad read. Coupon code discount: $10 off - Wes promotes coupon code syntax for his courses. Team account feature: Brand new - Level Up Tutorials Pro now supports team accounts with an administrator managing invites and billing.
Pivotal Quotes: "Bike shedding means that you spend so much talking about what color the bike shed should be instead of actually building it." — Wes Bos: Definition given at the start of the episode to frame the entire discussion. "I think what I do and what I should be doing is two different things." — Wes Bos: On CSS variable naming, admitting his current practice differs from his ideal/theoretically better approach. "If you are writing a function, to do something and it's not inside of another function, it's not on a click handler in line. I go for the regular, the word function." — Scott Tolinsky: On preferring function declarations for most named functions over arrow syntax.
Implications: Listeners are encouraged to treat many style choices as pragmatic, not moral. The takeaway is to standardize where it helps teams, automate where possible, and choose conventions that improve readability, refactoring, and personal productivity.
About Syntax - Tasty Web Development Treats
View all episodes from Syntax - Tasty Web Development Treats