Syntax - Tasty Web Development Treats
Syntax - Tasty Web Development Treats

Hasty Treat - Bike Shedding

In this Hasty Treat, Scott and Wes talk about bike shedding - issues that are hotly debated, but may not matter that much in the long run. LogRocket - Sponsor LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session

Featured Speakers

Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers Host

Topics Discussed

Episode Summary

Executive Summary: Wes and Scott use “bike shedding”—debating minor technical choices while larger concerns go unattended—as a playful framework for discussing common developer disputes. They cover formatting, JavaScript conventions, CSS organization, design and framework choices, editors, performance, and browser support. Their central message is to favor readable, productive choices that fit the project and team, and avoid treating personal preferences or micro-optimizations as universal rules.

Main Topics: Bike shedding and engineering priorities: The hosts define bike shedding as spending disproportionate time debating small issues while more consequential work may be overlooked. They note that these discussions can be entertaining, but rarely have one universally correct answer. Code formatting and style conventions: They discuss tabs versus spaces, quote styles, semicolons, CSS property ordering, brace placement, and trailing commas. Both favor using formatters such as Prettier or ESLint to settle many preferences consistently rather than repeatedly arguing about them. JavaScript declarations and module exports: The hosts favor const by default and let when reassignment is needed, while acknowledging that var is not deprecated. They also support using either named or default exports according to the module’s purpose rather than imposing a universal rule. Tools, frameworks, and cross-disciplinary skills: They argue that mainstream front-end frameworks can all be suitable, with the best choice often depending on team expertise and productivity. Designers may benefit from coding and developers from design, but neither should be required to take on the other discipline. Performance and browser support: The hosts distinguish meaningful performance work from premature micro-optimization. They recommend optimizing when evidence or project needs justify it, and treating browser support as a concrete requirement: check the target browsers and use features they support. Personal preference, dogma, and team collaboration: The discussion cautions against turning individual habits—such as editor choice or preferred coding patterns—into rules for everyone. Consistency can help a team, but choices should remain practical and open to reconsideration when a better fit emerges.

Key Arguments: Many style debates are matters of preference rather than correctness; teams can reduce friction by agreeing on conventions and automating them with formatting and linting tools. Use language features with an understanding of their behavior: the hosts recommend const by default, let when reassignment is needed, and reject the claim that var is deprecated. Choose named or default exports based on whether a module provides several utilities or one primary item; either approach can work. Select frameworks and editors based on the needs and capabilities of the people doing the work, not on community pressure or claims that one tool is inherently the only serious option. Do not sacrifice readability or development speed for speculative micro-optimizations. Optimize when measurements or scale show a real problem. Browser support depends on the project’s actual compatibility requirements; verify those requirements rather than arguing about support in the abstract. Exposure to adjacent disciplines can improve work, but designers need not become programmers and developers need not become designers.

Data Points: LogRocket free trial: 14 days - The sponsor message offers a 14-day free trial through logrocket.com/syntax. Common indentation setting mentioned: 2 spaces - Both hosts say they use two spaces when their editors insert indentation. Possible spaces used to represent a tab: 2 to 4 spaces - The hosts clarify that pressing the Tab key may insert a tab character or a configured number of spaces. Illustrative microbenchmark: 4,000 repetitions in one second; 100 milliseconds longer - A hypothetical example of how small performance claims may be based on a narrow benchmark, not a meaningful real-world impact. Illustrative component scale: 40,000 React components - Used as a hypothetical extreme when discussing whether inline event-handler functions matter for performance. Trailing-comma browser support: IE 9 and later - The hosts state that trailing commas in object literals are supported in IE 9 and newer.

Pivotal Quotes: "technical disputes over minor marginal issues conducted while more serious ones are being overlooked." — Wes: A definition of bike shedding that frames the episode’s collection of developer debates. "Don't make things harder for yourself." — Wes: A concise statement of the hosts’ position on avoiding unnecessary complexity for speculative performance gains. "At the end of the day, it doesn't really matter all that much, but there are your own personal opinions." — Wes: The closing takeaway: many conventions are personal or team choices, and developers should use what works for them.

Implications: Teams can prevent low-value disputes by documenting shared conventions and automating formatting. Developers should prioritize clarity, project requirements, and measured performance over online dogma, while staying willing to revise habits when circumstances change.

🔓 Sign Up for Unlimited Episode Search

About Syntax - Tasty Web Development Treats

View all episodes from Syntax - Tasty Web Development Treats