Syntax - Tasty Web Development Treats
Technology
In this episode of Syntax, Scott and Wes bike shed some common developer opinions.
Prismic - SponsorPrismic 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 - SponsorLogRocket 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 - SponsorMux 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 Notes04:27 - Event params
06:36 - CSS variables
09:31 - CSS colors
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
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
48:20 - Ligatures and fancy fonts
50:30 - Regular functions vs anon functions in a variable vs arrow functions
52:44 - Explicit return vs implicit return
××× SIIIIICK ××× PIIIICKS ×××761: Cloudflare Analytics Engine, Workers + more with Ben Vinegar
760: Pro VSCode Setups
759: How to Easily Explore Coding Ideas
758: Web Awesome with Konnor Rogers + Cory LaViska
757: Potluck: Is Gatsby Dead? Shadow Dom, AI Summaries, Self Hosting + More
756: CSS Is Getting Mixins + Functions
755: Chrome Extensions and Ad Blockers VS Google with Oliver Dunk
754: How to Level Up Your Web Development Career
753: Cache Ruins Everything Around Me
752: React vs Vue vs Angular with Corbin Crutchley
751: UI Components: ShadCN, Tailwind UI, Headless, React Aria, Radix UI
750: New CSS and JavaScript You Should Be Using
749: Coding Shopify with Anne and Trudy of Design Packs
748: Fitness Will Make You a Better Developer
747: Middleware Explained
746: Infrastructure for TS Devs: Kubernetes, WASM and Containers with David Flanagan
745: Modern JS Toolchains (Biome, Oxc + More)
744: Docker For Developers
743: JavaScript Figma Plugins & Working at GitHub With Cameron McEfee
742: Potluck: Migrating to Typescript, Semver Explained, Accurate Timers and Countdowns
Create your
podcast in
minutes
It is Free
Insight Story: Tech Trends Unpacked
Zero-Shot
Fast Forward by Tomorrow Unlocked: Tech past, tech future
Black Wolf Feed (Chapo Premium Feed Bootleg)
Bannon`s War Room