logo
episode-header-image
Apr 2023
55 m

Stump’d Gameshow! Answering Coding Inter...

Wes Bos & Scott Tolinski - Full Stack Javascript Web Developers
About this episode

In this episode of Syntax, Wes and Scott answer coding questions posed by ChatGPT like what’s the difference between rem and em in CSS, the difference between a callback function and a promse in Node, what are Fastify plugins, and more!

Show Notes

  • 00:19 The premise for this Stump’d
  • 05:46 Scott’s weekend story
  • 09:36 What is the difference between a for loop and a while loop in JavaScript?
  • 11:11 What is the difference between the “em” and “rem” units in CSS, and when would you use each of them?
  • 13:15 What is the difference between a callback function and a promise in Node.js?
  • 14:57 In JavaScript, what is the difference between a function declaration, a function expression, and an arrow function, and how do they affect the concept of hoisting?
  • 18:39 How do you define a custom scalar type in GraphQL?
  • 21:30 With Deno, can you provide an example of an experimental API that requires the “–unstable” flag and explain its purpose?
  • 26:59 What’s the difference between a div and a span?
  • 28:01 What is aspect ratio?
  • 29:07 If it’s not supported by all browsers, how could you maintain aspect ratio?
  • 30:11 Can you explain the purpose of the beforeUpdate lifecycle function in Svelte, and provide a simple use case for it?
  • 32:33 What is the difference between unknown and any in TypeScript, and when should each be used?
  • 34:42 In TypeScript, what is a mapped type, and how can you use it to create a new type that makes all properties of an existing type optional?
  • 36:21 What are Fastify plugins, and how can they be used to extend the functionality of a Fastify application?
  • 37:57 In React, what is the purpose of the React.memo higher-order component, and how does it help improve the performance of a functional component?
  • 39:53 How would you create a custom HTML element that is styled with CSS and has dynamic behavior using JavaScript?
  • 41:57 What is the Intersection Observer API, and how can you use it to implement infinite scrolling in a web application?
  • 49:00 SIIIIICK ××× PIIIICKS ×××

××× SIIIIICK ××× PIIIICKS ×××

Shameless Plugs

Tweet us your tasty treats

Up next
Oct 8
944: Is Coinbase Really Writing Half Their Code With AI?
Wes and Scott talk with Kyle Cesmat about how Coinbase is writing nearly half its code with AI—while keeping quality and security front and center. They dig into tools like Cursor and Claude Code, agent-driven workflows, code review challenges, and how AI is reshaping developer p ... Show More
49m 6s
Oct 6
943: Modern React with Ricky Hanlon (React Core Dev)
Scott and Wes sit down with Ricky Hanlon from the React core team at Facebook to dive into the latest features and APIs shaping modern React development. From transitions and Suspense to fetching strategies and future directions, this episode breaks down what’s next for React and ... Show More
38m 36s
Oct 1
942: Mental Health Q&A w/ Dr. Courtney Tolinski
Wes and Scott talk with Dr. Courtney Tolinski about supporting neurodivergent teammates, navigating workplace dynamics, and recognizing strengths beyond labels. They explore ADHD diagnosis and treatment, productivity mindsets, burnout, AI in mental health, and practical routines ... Show More
57m 44s
Recommended Episodes
Feb 2022
Is functional programming the hipster programming paradigm?
Here’s a useful primer on functional programming with JavaScript.This tutorial will guide you in exploring the fundamentals of functional programming with React.If you’re looking for more info on functional programming in React, we’d like to tell you why hooks are the best thing ... Show More
27m 49s
Nov 2023
What's new in CSS land
Una Kravets, developer advocate at Google & web platform ambassador, joins Amal & Nick to take them CSS to school as they start this podcast in CSS kindergarten and end it with a Level-Up CSS Diploma. (LUCD?) We explore all the amazing features which have recently landed in CSS — ... Show More
1h 14m
Dec 2023
Leveling up technology
Join hosts Walt Cooley and Matti McBride as they dive into Cooley’s recent presentation “Level-Up” given at the Amelicor Herd and Feed Management Conference in this episode of the Progressive Dairy Podcast. Learn how to level up technology on your operation, champion an employee ... Show More
32m 25s
Jan 2024
How to build a role-playing video game in 24 hours
Now you know: The human body can serve as a resonance chamber for remote car keys, effectively extending their range.A hackathon team used GenAI can create a fully playable D&D-style game in just one day.Skybox AI from Blockade Labs allows users to generate 360° skybox experience ... Show More
14m 14s
Feb 2024
E167: Nvidia smashes earnings (again), Google's Woke AI disaster, Groq's LPU breakthrough & more
(0:00) Bestie intros: Banana boat! (2:34) Nvidia smashes expectations again: understanding its terminal value and bull/bear cases in the context of the history of the internet (27:26) Groq's big week, training vs. inference, LPUs vs. GPUs, how to succeed in deep tech (49:37) Goog ... Show More
1h 20m
Feb 2024
What Really Happened At The Streamer Awards | Wine About It
This week QT and Maya are back together in person. They discuss this years Streamer Awards, call out people who don't show up after RSVPing , and Maya is going to Brazil.🌟Bonus Content on Patreon🌟► https://www.patreon.com/wineaboutit 🎵 Audio Version 🎵🎧 Spotify: https://tinyu ... Show More
1h 3m
Feb 2024
FAQ #11 / Les fachos, la cancel culture, la Terre plate, et plein d'autres choses...
FAQ n°11 à l'occasion des 900 000 abonnés sur la chaîne. 00:00 - Introduction 00:14 - Bilan de l'année 2023 05:25 - Que peut-on te souhaiter pour l'année 2024 ? 05:38 - As-tu arrêté ton travail de prof pour te consacrer à YouTube ? 07:55 - Quelle méthode utilisez-vous pour créer ... Show More
49m 5s
Feb 2024
Could the PAUSE method help me make better decisions?
Are you someone who thrives on making decisions at work, or do you prefer to take a back seat and let others have the final say? Decisions can be a source of anxiety, even for those who generally like making them. That's especially true when the sheer quantity of decisions to be ... Show More
4m 35s