logo
episode-header-image
Nov 2019
59m 40s

How To Get Better At Problem Solving

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

In this episode of Syntax, Scott and Wes talk about how to get better at problem solving — one of the most important skills to build as a developer.

Netlify - Sponsor

Netlify is the best way to deploy and host a front-end website. All the features developers need right out of the box: Global CDN, Continuous Deployment, one click HTTPS and more. Hit up netlify.com/syntax for more info.

Prismic - Sponsor

Prismic is a Headless CMS for your next front end project. Create complex content type, relate data, and have your clients edit it all with the Prismic UI. Then pull the data into your project with their JSON or GraphQL API. Try it out with your next project - Gatsby, React + Apollo, or any other language. Check out their examples to get you started at Prismic.io/syntax.

Show Notes

2:43 - Gather info

  • What is this thing trying to do?
  • Use tools
  • DevTools are your best friend during this phase

8:01 - Know where to look (and use tools)

  • Dev tools for client side
  • Error logs
  • Sentry
  • LogRocket
  • The most experienced people in any field know how to ask the right questions.
  • Some of this will come with experience and nothing else. If you’ve seen a problem before, it’s easier to solve.

10:00 - Look at the end game

  • What are you really trying to do here? Don’t focus so much on the tech that you miss the bigger picture.

13:17 - Read Again

  • Error logs provide the best clues. Read them closely.
  • Actually read your code — don’t skim it.
  • Write comments while reading it, or follow existing comments — good for documenting, but also for structuring your thoughts.

18:08 - Make it simple (break it into smaller parts)

  • Limit the number of inputs and outputs
  • Get it working in a limited capacity (e.g. safe mode, Codepen, etc.)
  • Comment out major sections of code until you have a working example
  • Does this problem exist outside of the framework?
  • Does this work in a clean environment?

25:35 - Take yourself out of your environment

  • You should be able to take a look at the problem at all zoom levels
  • Does it work locally but not on the server?
  • Does it work in other browsers?

27:32 - Stay calm

  • It’s easy to get nervous or worked up when the stakes are high
  • It won’t serve you to panic. If you are panicking, take a 10 min walk to deep breath
  • Take a shower, lift weights (seriously)

30:14 - Talk it over

  • Getting the perspective of another developer can be invaluable

32:28 - Make things obvious

  • Use debugger or label logs — don’t let it be ambiguous
  • For CSS bugs, use primary colors to make things stand out
  • Use the right tool to make the problem stand out
    • Layers for CSS issues
    • Network for network issues
    • Performance tab (etc.)

35:12 - Use Git correctly to free up your techniques

  • If you’re code commits are up to date, you can heavily modify code without fear of deleting things — just revert to a previous commit once you find the issue and fix.

36:10 - Don’t jump at solutions

  • Take the time to fully dissect the problem
  • Question you assumptions
  • It can’t possibly be a problem with ____. Well maybe it is.
    • Wes once spent hours trying to diagnose a check engine light when the gas cap was lose.

43:51 - Get good at pattern matching

  • This comes with experience
  • When did this problem start?
  • Did we deploy any code? Did we change any logic?

44:54 - Get good at googling

  • Being able to describe your problem is key.
  • Search the error from Firefox

Links

××× SIIIIICK ××× PIIIICKS ×××

Shameless Plugs

Tweet us your tasty treats!

Up next
Yesterday
918: Extreme Native Perf on the Web with Superhuman
Wes and Scott talk with Loïc Houssier about how Superhuman builds lightning-fast, delightfully-designed email software. They dig into engineering philosophy, offline-first architecture, local databases, AI-powered productivity, and what it takes to create tools that people love. ... Show More
48m 54s
Jul 7
917: AI Tools You Should Know
Scott and Wes round up the hottest AI tools you should have on your radar; from text-to-speech wizards to self-hosted image generators. They break down what they’re using, what’s worth paying for, and which tools are changing their workflows. Show Notes 00:00 Welcome to Syntax! 0 ... Show More
37m 48s
Jul 2
916: I got fired, what should I focus on?
In this potluck episode of Syntax, Wes and Scott answer your questions about maintaining popular open-source projects, where to start after a layoff, impostor syndrome, Scott’s recording setup, whether a computer science degree is still worth it in the age of AI, and more! Show N ... Show More
58m 24s
Recommended Episodes
Apr 2021
Work environments & happiness
KBall, Amal, and Nick dive into key dimensions of what makes a developer work environment good – or bad. They discuss systemic factors, individual factors, what you can do about it, and a proposed scoring system for good work environments. Discuss on Changelog News Changelog++ me ... Show More
56m 36s
Mar 2022
Web development for beginners (JS Party #218)
Jen Looper from Web Dev for Beginners and Front-end Foxes joins Jerod and Ali to discuss the exciting (but also intimidating) prospect of getting in to web development in 2022! Where should you start? What technologies should you focus on? Is it better to go all-in on a framework ... Show More
53m 23s
Aug 2022
Tech job interview support group
Struggling through the tech job interview process? We feel you! On this episode, Amal, Nick & Amelia get together to discuss the various ways the interview process disappoints, share their own interview stories, and suggest ways we can improve the process for everyone. Discuss on ... Show More
1h 4m
Feb 2023
Frontend Feud: CSS Podcast vs @keyframers
Una & Adam from The CSS Podcast defend their Frontend Feud title against challengers David & Shaw from the keyframers. Let’s get it on! Leave us a comment Changelog++ members save 6 minutes on this episode because they made the ads disappear. Join today! Sponsors: Sentry – Sessio ... Show More
51m 10s
Feb 2023
Frontend Feud: CSS Podcast vs @keyframers (JS Party #264)
Una & Adam from The CSS Podcast defend their Frontend Feud title against challengers David & Shaw from the keyframers. Let’s get it on! Leave us a comment Changelog++ members save 6 minutes on this episode because they made the ads disappear. Join today! Sponsors: Sentry – Sessio ... Show More
51m 10s
Mar 2023
You’re just a devcontainer.json away (Changelog Interviews #529)
This week we’re joined by Brigit Murtaugh, Product Manager on the Visual Studio Code team at Microsoft, and we’re talking about Development Containers and the Dev Container spec. Ever since we talked with Cory Wilkerson about Coding in the cloud with Codespaces we’ve wanted to ge ... Show More
1h 10m
Jun 2023
Episode 361: Get git and non-tech ramping up
In this episode, Dave and Jamison answer these questions: Listener Schtolteheim Reinbach III asks, Hey soft skills engineering, love you guys. I work at a company you wouldn’t hear much about, on a product that you wouldn’t think about as having much tech involved- suffice it to ... Show More
28m 5s
Sep 2021
Puddin' together cool data-driven essays (JS Party #193)
Russel Goldenberg & Caitlyn Ralph from The Pudding join Amelia & Nick to talk about how they create data-driven, interactive articles, how the team works on both The Pudding’s data journalism articles and Polygraph’s client work. We also dive into how the team works with contract ... Show More
56m 18s
Dec 2022
Big news in Deno Land
Deno creator Ryan Dahl goes one-on-one with Jerod to discuss their new npm support, why he’s so excited about JavaScript containers, Deno Deploy’s present & future, what he thinks about alternative runtimes like Bun, WinterCG, how Wasm fits into the story & more! Discuss on Chang ... Show More
54m 38s
Mar 2024
AI vs software devs
Daniel and Chris are out this week, so we’re bringing you conversations all about AI’s complicated relationship to software developers from other Changelog pods: JS Party, Go Time & The Changelog.Join the discussionChangelog++ members save 2 minutes on this episode because they m ... Show More
57 m