meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

How To Get Better At Problem Solving

Syntax - Tasty Web Development Treats

Wes Bos

Js, Technology, Css, Html5, Tech News, Webdevelopment, News, Javascript, Html

4.91.1K Ratings

🗓️ 20 November 2019

⏱️ 60 minutes

🧾️ Download transcript

Summary

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!

Transcript

Click on a timestamp to play from that location

0:00.0

You're listening to Syntax, the podcast with the tastiest web development treats out there.

0:06.0

Strap yourself in and get ready.

0:08.0

Here is Scott Telinsky and West Boss.

0:10.4

Welcome to Syntax. This is the podcast with the tastiest web development treats. My name is West Boss and with me as always is Scott Tolinsky. How you doing today Scott?

0:21.0

Hey, I'm doing good.

0:23.6

It's Winter Wonderland here in Denver,

0:26.0

which is not typical for this time of year.

0:28.2

So, I think that's going to be back to 70s.

0:30.8

You still have snow?

0:31.8

We still have snow, yeah. I don't know what happened we got like a

0:34.8

huge blizzard dump and then I mean all the ski hills are psyched about it so I'm psyched about it

0:39.5

it for that but it's gonna be like 70 week, so I just want that to happen. You know, you know.

0:46.0

How are you doing?

0:47.0

Good, it's getting a little chilly over here too.

0:50.0

No, thankfully no snow yet, but it's unseasonably cold which I kind of like getting out all the

0:55.6

beanies and parkas and stuff like that but me too a little bit too early yeah I just

1:01.9

odd that I'm so much further south than you. It's the mountains, man.

1:05.2

Yeah, how does the world even work? Maybe the world got tilted or something. It's flat though, so I don't understand

1:11.6

that would work. Well, I guess you can tell it.

1:14.0

Like, you know, you just give it a little shift.

1:16.0

There you go.

1:17.0

So today we are talking about how to get better at problem solving.

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2025.