Syntax - Tasty Web Development Treats

Bike Shedding — Developer Opinions Explained


Listen Later

In this episode of Syntax, Scott and Wes bike shed some common developer opinions.

Prismic - Sponsor

Prismic is a Headless CMS that makes it easy to build website pages as a set of components. Break pages into sections of components using React, Vue, or whatever you like. Make corresponding Slices in Prismic. Start building pages dynamically in minutes. Get started at prismic.io/syntax.

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 re-player and a performance monitor. Get 14 days free at logrocket.com/syntax.

Mux - Sponsor

Mux Video is an API-first platform that makes it easy for any developer to build beautiful video. Powered by data and designed by video experts, your video will work perfectly on every device, every time. Mux Video handles storage, encoding, and delivery so you can focus on building your product. Live streaming is just as easy and Mux will scale with you as you grow, whether you’re serving a few dozen streams or a few million. Visit mux.com/syntax.

Show Notes

04:27 - Event params

  • e, evt, ev, or event?

06:36 - CSS variables

  • —red or —primary?

09:31 - CSS colors

  • https://twitter.com/rem/status/1386694431710007298
  • RGB, HSL, HEX?
  • 11:52 - Default exports vs named exports

    14:45 - JavaScript import ordering

    17:09 - Foo / Bar / Baz in examples

    21:18 - Light vs dark themes

    24:00 - longVerboseNamesDescribingWhatItIsOrDoes vs x

    26:54 - VScode vs WebStorm (IDE) vs Vim

    31:12 - TypeScript Generics: vs

    34:39 - Indentation-base syntax

    • https://twitter.com/LeahLundqvist/status/1386693374305095680

    37:37 - Max line length

    40:21 - One reduce, vs multiple .map()/flat(),filter()

    async function getStatus() { const res = await sendCommand('AT!GSTATUS'); const result = res.result .split('\n') .map((x: string) => x.split(`\t\t`)) .flat() .filter(Boolean) .map((x: string) => x.trim()) .map((x: string) => x.split(` \t`)) .flat() .filter((x: string) => x.includes(':')) .map((x: string) => x.split(`:`)) .map(([prop, val]: [string, string]) => [prop, val.trim()]) return Object.fromEntries(result); }

    42:50 - index.js files

    • https://twitter.com/sevilhelm/status/1386693971112562694
  • ComponentName.js vs ComponentName/index.js
  • https://twitter.com/rleggos/status/1386694773021552641
  • 48:20 - Ligatures and fancy fonts

    • https://twitter.com/badsyntax/status/1386695010859507713

    50:30 - Regular functions vs anon functions in a variable vs arrow functions

    • function hey() {}
    • const hey = function() {}
    • const hey = () ⇒ {}

    52:44 - Explicit return vs implicit return

    ××× SIIIIICK ××× PIIIICKS ×××
    • Scott: Ego Mower
  • Wes: Pass-Through Socket Set
  • Shameless Plugs
      • Scott: 1: Level Up Tutorials Pro Spring Sale - 50% off annual subscriptions! 2: Github Actions with Brian Douglas
  • Wes: All Courses - Use the coupon code ‘Syntax’ for $10 off!
  • Tweet us your tasty treats!
    • Scott’s Instagram
  • LevelUpTutorials Instagram
  • Wes’ Instagram
  • Wes’ Twitter
  • Wes’ Facebook
  • Scott’s Twitter
  • Make sure to include @SyntaxFM in your tweets
  • ...more
    View all episodesView all episodes
    Download on the App Store

    Syntax - Tasty Web Development TreatsBy Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

    • 4.9
    • 4.9
    • 4.9
    • 4.9
    • 4.9

    4.9

    977 ratings


    More shows like Syntax - Tasty Web Development Treats

    View all
    Software Engineering Radio - the podcast for professional software developers by team@se-radio.net (SE-Radio Team)

    Software Engineering Radio - the podcast for professional software developers

    274 Listeners

    Hanselminutes with Scott Hanselman by Scott Hanselman

    Hanselminutes with Scott Hanselman

    381 Listeners

    The Changelog: Software Development, Open Source by Changelog Media

    The Changelog: Software Development, Open Source

    289 Listeners

    Software Engineering Daily by Software Engineering Daily

    Software Engineering Daily

    624 Listeners

    Talk Python To Me by Michael Kennedy

    Talk Python To Me

    582 Listeners

    Soft Skills Engineering by Jamison Dance and Dave Smith

    Soft Skills Engineering

    287 Listeners

    Thoughtworks Technology Podcast by Thoughtworks

    Thoughtworks Technology Podcast

    43 Listeners

    Python Bytes by Michael Kennedy and Brian Okken

    Python Bytes

    214 Listeners

    The freeCodeCamp Podcast by freeCodeCamp.org

    The freeCodeCamp Podcast

    486 Listeners

    CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

    CoRecursive: Coding Stories

    189 Listeners

    Practical AI by Practical AI LLC

    Practical AI

    205 Listeners

    The Stack Overflow Podcast by The Stack Overflow Podcast

    The Stack Overflow Podcast

    63 Listeners

    The Real Python Podcast by Real Python

    The Real Python Podcast

    141 Listeners

    PodRocket by LogRocket

    PodRocket

    60 Listeners

    Oxide and Friends by Oxide Computer Company

    Oxide and Friends

    66 Listeners