In this episode of Syntax, Wes and Scott engage in a "bike-shedding hot takes" discussion, diving into trivial yet engaging debates relevant to web developers. They explore preferences on CSS variable naming conventions (color-based vs. purpose-based), casing styles (snake_case vs. camelCase), JavaScript exports (default vs. named), and file import strategies (barrel files vs. direct imports). Further topics include function declarations vs. expressions, TypeScript type inference vs. explicit typing, variable naming length with comments, Git practices (rebase vs. merge commits), event listener parameter naming, tabs vs. spaces, line height, and hard line length in code. They share their evolving opinions and encourage listeners to share their own strong preferences on these minor coding decisions.
Sign in to continue reading, translating and more.
Continue