Fireship · @fireship

How to Learn to Code - 8 Hard Truths

Uploaded February 9, 2022 · Length 6:46

How to Learn to Code - 8 Hard Truths

Summary

Fireship shares 8 hard truths about learning to code, emphasizing the importance of hard work, problem-solving, and creating a positive feedback loop.

  • learn to code
  • programming skills
  • problem solving
  • coding techniques
  • productivity
  • learning to code

Transcript preview

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

  1. 0:00

    everybody needs to learn to code coding

  2. 0:01

    is the new literacy if you can't code

  3. 0:03

    you'll soon become obsolete plus coding

  4. 0:05

    is easy so you really have no excuse

  5. 0:07

    these are all statements that are not

  6. 0:08

    true but i've been told that fear-based

  7. 0:10

    sales tactics will scare you into

  8. 0:11

    subscribing to my youtube channel in

  9. 0:13

    today's video i'm going to share a

  10. 0:14

    variety of practical techniques that

  11. 0:16

    have helped me learn to code because

  12. 0:17

    learning in and of itself is a skill and

  13. 0:19

    if you want to be a software engineer

  14. 0:21

    you'll need to learn new things all the

  15. 0:22

    time many moons ago i didn't know how to

  16. 0:24

    code i wanted to learn because i hated

  17. 0:26

    my low paying miserable job and wanted

  18. 0:28

    to build some kind of app on the

  19. 0:29

    internet that would allow me to break

  20. 0:30

    out and start my own business i figured

  21. 0:32

    i wasn't smart enough to code but you

  22. 0:33

    only live once so i bought a giant book

  23. 0:35

    about php and mysql and sure enough i

  24. 0:38

    wasn't smart enough to code and those

  25. 0:40

    toilets weren't going to clean

  26. 0:40

    themselves i went back to my crappy job

  27. 0:42

    and forgot about it luckily a little

  28. 0:44

    while later my family needed a website

  29. 0:46

    so i figured i was at least smart enough

  30. 0:47

    to learn html and somehow a few months

  31. 0:49

    later i figured out how to ship my first

  32. 0:51

    website the important thing to recognize

  33. 0:52

    when learning to code is that hard work

  34. 0:54

    is more valuable than talent talon is

  35. 0:56

    great if you have it and there are 10x

  36. 0:58

    developers out there where things just

  37. 0:59

    click on a much higher level but

  38. 1:00

    programming is a skill very similar to

  39. 1:02

    playing a musical instrument or juggling

  40. 1:04

    for most people you totally suck at

  41. 1:06

    first then you feel like a genius when

  42. 1:07

    you code your first program then you

  43. 1:08

    realize you totally suck again and this

  44. 1:10

    pattern goes on and on forever in an

  45. 1:12

    infinite loop learning is supposed to be

  46. 1:14

    painful in fact i believe that you need

  47. 1:16

    pain to grow when learning a guitar you

  48. 1:17

    need to put your fingertips through a

  49. 1:18

    lot of pain before you build calluses in

  50. 1:21

    programming you'll have to bang your

  51. 1:22

    head against the keyboard a bunch of

  52. 1:23

    times until you figure out how to make

  53. 1:24

    these error messages go away so if you

  54. 1:26

    don't have talent be prepared to embrace

  55. 1:28

    the hard work now as you learn you might

  56. 1:30

    be wondering which programming language

  57. 1:31

    should i start with the truth is that it

  58. 1:33

    doesn't matter as long as you get really

  59. 1:34

    good at one of them the thing about

  60. 1:35

    programming is that there's so much to

  61. 1:37

    learn you are never going to retain at

  62. 1:39

    all i used to be a really good ruby

  63. 1:40

    programmer but at this point i've

  64. 1:41

    forgotten almost everything about it and

  65. 1:43

    that's no big deal because memorizing

  66. 1:45

    syntax doesn't really matter the thing

  67. 1:47

    you really want to learn and retain are

  68. 1:48

    programming patterns essentially

  69. 1:50

    everything you do in programming is

  70. 1:51

    problem solving the idea is to create a

  71. 1:53

    repertoire of tools in your brain that

  72. 1:55

    you can then use to solve virtually any

  73. 1:57

    problem in any language for example if

  74. 1:59

    you need to loop over something but