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

Potluck

In this episode of Syntax, Scott and Wes answer your questions on a Potluck episode of Syntax. 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 correspond

Featured Speakers

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

Topics Discussed

Episode Summary

Executive Summary: A Syntax potluck episode covering practical developer questions: image protection, learning TypeScript, when to adopt TypeScript, choosing a backend language, handling FOMO, introducing ESLint/Prettier to large codebases, monorepos, JavaScript fundamentals, time-zone collaboration, and when to use audits for auth/payments. The hosts emphasize learning by doing, finishing projects, and choosing tools based on real pain points rather than hype.

Main Topics: Protecting images on websites: Discusses how platforms like Facebook and Instagram use tokenized URLs and why true image protection is limited once a user can access the URL; native apps are only marginally more secure. How to learn TypeScript: Compares docs, YouTube, hands-on project conversion, and structured courses; both hosts stress practical usage and struggling through real compiler errors. When to learn TypeScript: Recommends focusing on JavaScript first, then adopting TypeScript once learners understand the problems it solves; suggests using lax settings and inferred types to ease the transition. Avoiding FOMO and choosing what to learn: Explores shiny-object syndrome, project rewriting, and why finishing projects and staying committed usually matters more than switching to newer frameworks. Code quality migration in large projects: Advises on introducing ESLint/Prettier to messy legacy codebases, weighing a one-shot cleanup versus incremental formatting, and protecting Git history. Monorepos and cross-time-zone collaboration: Covers the benefits of monorepos with workspaces, shared packages, and clear tooling; also shares process tips for distributed teams working across time zones. JavaScript fundamentals, backend choice, and hard-to-get-right systems: Explains what it means to know JavaScript, recommends JavaScript/Node for front-end devs moving full-stack, and suggests stepwise approaches plus audits for auth and payments.

Key Arguments: Image access is usually only as secure as the URL itself; if a user can see an image, they can often share that URL regardless of platform. TypeScript is learned best through practical use in real codebases, not just reading docs; compiler errors are a key part of the learning process. Learners should understand JavaScript before TypeScript so they can recognize the pain points TypeScript solves. Not every new tool deserves immediate adoption; finishing and improving a project is often more valuable than rewriting it in a newer stack. For large legacy codebases, a one-time formatting/lint cleanup can be better than incremental cleanup because it reduces ongoing friction. Monorepos are especially useful when teams share utilities and multiple packages, but they require disciplined build and package setup. Auth, payments, and accessibility are high-risk areas where step-by-step design, audits, and platform support reduce mistakes. Knowing JavaScript means understanding programming basics, browser APIs, language quirks, Node.js, and how to look up what you need rather than memorizing everything.

Data Points: Holiday holiday mention: 25 times - Scott said his kids watched the Paw Patrol movie nearly every day during the holiday break. TypeScript learning split on Twitter: 50-50 - Wes said opinions on when to learn TypeScript were roughly evenly split on Twitter. Company/team size mentioned: 5 devs and 3 former devs - A listener described a React project team with current and previous contributors. Codebase size mentioned: almost 60,000 lines of code - Listener described the scale of the React project before introducing Prettier. Lint/build issues mentioned: 1,000+ warnings - The listener noted ESLint rules causing over a thousand warnings on each build. Lint cleanup issues mentioned: 40,000+ errors - Wes described cleaning up a large project with tens of thousands of lint/format issues. Lint cleanup time: 2-3 hours - Wes said he got a major ESLint/Prettier cleanup to zero in about two to three hours. Free trial offered by LogRocket: 14 days - Ad read for LogRocket session replay service. Workshop/training format: 30 JavaScript projects - Wes referenced converting his JavaScript 30 course projects to TypeScript. Time zone difference: 7 hours - Wes mentioned working with a developer in South Africa.

Pivotal Quotes: "I think you should definitely focus on JavaScript first... you're going to start to feel the pains that TypeScript solves." — Scott: Advice to a junior dev asking when to learn TypeScript. "The answer for me is to commit to something is that I'm most often never going to rewrite a platform in something else." — Wes: Discussion about FOMO and sticking with a project/framework instead of rewriting for every new trend. "You don't want to be that guy who's always just talking about the new stuff, but never actually doing anything with the stuff." — Wes: On avoiding hype-driven tool switching and finishing projects.

Implications: Listeners should prioritize fundamentals, ship work, and adopt tools when they solve real problems. For teams, strong processes and gradual, deliberate migration make legacy and distributed work manageable.

🔓 Sign Up for Unlimited Episode Search

About Syntax - Tasty Web Development Treats

View all episodes from Syntax - Tasty Web Development Treats