Fireship · @fireship

Problem-Solving for Developers - A Beginner's Guide

Uploaded March 24, 2020 · Length 10:44

Problem-Solving for Developers - A Beginner's Guide

Summary

A beginner's guide to problem-solving for developers, covering 7 concepts to solve coding problems quickly and reliably.

  • problem-solving for developers
  • beginner's guide to programming
  • software development skills
  • coding challenges
  • technical interviews
  • algorithmic thinking
  • software development process

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    houston we have a problem I created a

  2. 0:03

    bit of a problem last week by offering

  3. 0:05

    to mail a sticker to anybody who

  4. 0:06

    submitted a pull request to this repo

  5. 0:08

    and now I'm stuck with over 600 code

  6. 0:10

    changes to review and merge I could sit

  7. 0:12

    at my computer for a few days and

  8. 0:13

    manually merge each one by clicking a

  9. 0:15

    button but luckily we have this awesome

  10. 0:16

    thing called code that lets us do this

  11. 0:18

    thing called programming to solve

  12. 0:20

    problems like this in today's video

  13. 0:21

    we'll look at the steps involved in what

  14. 0:23

    many consider to be the most important

  15. 0:24

    skill of a software developer problem

  16. 0:27

    solving well look at seven different

  17. 0:28

    concepts that can help you solve coding

  18. 0:30

    problems quickly and reliably when you

  19. 0:32

    become comfortable with these concepts

  20. 0:33

    you'll be able to ship code faster and

  21. 0:35

    be more comfortable in technical

  22. 0:36

    interviews we can use my real-world

  23. 0:38

    problem with pull requests as an example

  24. 0:40

    what we have here is a very specialized

  25. 0:42

    use case but it represents one of the

  26. 0:44

    most fundamental problems that software

  27. 0:45

    solved the elimination of manual

  28. 0:48

    repetitive work many new developers

  29. 0:50

    start their programming journey focused

  30. 0:51

    on learning a language and that's

  31. 0:52

    perfectly fine because obviously you

  32. 0:54

    need to know a language to solve

  33. 0:56

    problems with code but when you get to

  34. 0:57

    know highly experienced developers

  35. 0:59

    you'll realize that their skill set is

  36. 1:00

    more about problem solving than it is

  37. 1:02

    about knowing every single feature of

  38. 1:03

    the language that use that's why most of

  39. 1:05

    the top companies have you do

  40. 1:06

    whiteboarding problems and interviews

  41. 1:08

    they want insight into your thought

  42. 1:09

    process when you approach a software

  43. 1:11

    development problem because that skill

  44. 1:12

    is much more difficult to learn than

  45. 1:14

    memorizing the syntax of a programming

  46. 1:16

    language it takes years of experience

  47. 1:18

    and practice to get good at but once you

  48. 1:19

    have it down you'll be able to

  49. 1:21

    confidently turn your ideas into reality

  50. 1:23

    through the magic of code and you won't

  51. 1:24

    even need YouTube channels like this for

  52. 1:26

    tutorials but in the meantime make sure

  53. 1:28

    to subscribe and hit the notification

  54. 1:29

    bellow so you don't miss the next

  55. 1:30

    sticker giveaway now I want to start

  56. 1:32

    things off by saying that everybody's

  57. 1:34

    brain is different and there's no one

  58. 1:35

    universal right way to solve a problem

  59. 1:37

    I'm going to show you techniques that

  60. 1:38

    work well for me but follow your

  61. 1:40

    instincts and do what works best for you

  62. 1:42

    the first step is to identify and

  63. 1:44

    understand the nature of the problem if

  64. 1:45

    I had an hour to solve a problem I'd

  65. 1:47

    spend 55 minutes thinking about the

  66. 1:49

    problem and five minutes thinking about

  67. 1:50

    solutions in our case we have six

  68. 1:52

    hundred pull requests on github and we

  69. 1:54

    don't want to have to click this stupid

  70. 1:55

    button six hundred times so what we have

  71. 1:57

    here is an internal optimization that

  72. 1:59

    will hopefully save us time and money