Programming tutorials are notorious for 'tutorial hell' where people really struggle to recall concepts after they watch that video. I simply think you need ...
Full Video Transcript
0s: What people don't seem to be able to do
1s: is take these Lego bricks and use them
4s: to build something of their own. That's
6s: what happens when you get stuck in this
7s: tutorial hell, where it's like, 'Okay, I
9s: can only arrange these Lego bricks one
12s: way, and that is the way that this
14s: person doing the tutorial has actually
16s: shown me.'
17s: And so, in order to get more out of
19s: coding tutorials, you should stop
21s: fixating on what the implementation is
23s: or what the example is that the person
26s: is trying to demo this to you with. And
28s: instead, you should focus on what are
31s: the building blocks that they are trying
33s: to teach me about? And once you change
35s: that mindset, you can actually use those
38s: building blocks for other things.
40s: I'm sure everybody has heard the memes
42s: about tutorial hell, which is basically
43s: where you spend two hours watching a
45s: coding tutorial, and at the end of it,
47s: you come away with pretty much nothing
49s: learned, and you literally just have
50s: like a copy-paste implementation of
52s: whatever the person doing the tutorial
54s: was trying to show you, whether that's
55s: like a Twitter clone or whatever. And
57s: I've done heaps of coding tutorials on
59s: this YouTube channel over the last two
61s: years, and I want to talk about this
63s: problem, which is the artist formerly
65s: known as tutorial hell has now simply
67s: become the AI-generated code hell, where
70s: we have this pervasive pattern of people
73s: doing stuff or like building stuff to
76s: try and learn, yet they don't actually
78s: learn. And so, we saw this before with
80s: coding tutorial videos, and now the
82s: coding tutorial videos are going a
84s: little bit out of fashion, people are
85s: doing it with AI code, and this has been
87s: covered by other content creators as
89s: well. And I've actually noticed this
91s: recently because, of course, I've done a
93s: lot of coding tutorials on this YouTube
95s: channel, and I think I may have figured
98s: out at least part of the problem of why
100s: people aren't actually learning these
102s: kinds of things because I noticed this
104s: especially with my last video that I
106s: did, which was on the void pointers and
109s: function pointers that are available to
111s: you in the C programming language. Now,
113s: why What was about people's attitudes
116s: towards this video in general. By the
118s: way, my opinion is I don't actually
120s: think this is necessarily a problem with
123s: coding tutorials or even using AI to
126s: help you learn. I think this is with
127s: people's attitudes towards these
129s: resources. Like of course some of the
132s: tutorials are going to be bad and some
134s: of them are going to be good, but let's
135s: say if you have a good resource which is
137s: like a 2-hour video that's trying to
139s: tell you how to do something and you
140s: come away with that and not learning
142s: anything, whose fault is that really?
145s: And I think the issue is primarily with
147s: people's attitudes towards these videos
149s: and how they actually go in with a
151s: mindset when they use these videos. So,
154s: what was so about my last video and
157s: people's attitudes towards that that
158s: kind of got me on this path? Well,
160s: basically what I was trying to show is
162s: how you can take baby's first linked
164s: list example which you can Google which
166s: I Googled in the first 10 seconds by the
168s: way. And you can essentially just
170s: generalize that and add void pointers to
172s: it so that you can take in arbitrary
174s: data structures.
176s: And what I got in the comments, the
179s: comments of that video by the way,
181s: I had some of the craziest like view to
183s: comment ratio on any one of my YouTube
185s: videos. And it was essentially everybody
188s: was just arguing about the linked list
190s: implementation. And it's like, 'Okay,
192s: you should do it this way. You should do
194s: the linked list this way. This is a bad
195s: way to do a linked list. You shouldn't
196s: be allocating memory like that. You
198s: should be doing this instead.'
199s: And it's like, 'Okay.'
201s: So, the title of the video was about how
204s: to make arbitrary data type helpers in C
209s: and we're all arguing about the
211s: implementation of the linked list. Why
214s: are we doing that? And why are we not
216s: discussing the actual topic of the video
218s: which was supposed to be about how you
220s: can build arbitrary data type libraries
222s: in C.
224s: And I think the problem is that people
226s: hyper-fixate on the implementation
229s: in these coding tutorials. So, for
231s: example, if you're like learning how to
232s: build a Twitter clone, you are hyper
235s: fixated on the Twitter clone.
238s: Like, that's the implementation. That's
239s: the thing we're trying to build. We're
240s: trying to build a Twitter clone. Or in
242s: my video on void pointers, like in that
244s: video, I showed off a linked list
246s: implementation, and people like hyper
248s: fixate on the linked list
250s: implementation, and they don't tend to
253s: generalize the concepts that were trying
255s: to be taught
257s: for a more general purpose thing, if
260s: that makes any sense. Let me try and Let
261s: me try and explain it a little bit
262s: further. So, the point of the video was
264s: to show you an example of how you can
266s: use void pointers to build an arbitrary
268s: data structure library. Like, you where
270s: you don't have to care about types.
272s: Yet, what a lot of people seem to fixate
274s: on was the implementation of that in the
278s: linked list. Whereas, the point of the
280s: video is trying to give you an example
282s: of how you can use this technique to
284s: build something of your own. So, really,
287s: what I would have preferred people take
289s: away from that is nothing to do with the
291s: linked list at all. In fact, completely
294s: disregard the linked list
295s: implementation, and instead make the
297s: realization that, 'Oh, okay. There's
300s: this thing called a void pointer, and I
302s: can use it in this way. How else can I
304s: use that?' Like, that's actually very
307s: powerful. I can use this void pointer to
309s: take in an arbitrary data type, as this
312s: person did in this video with a linked
314s: list. Now, what can I use that for in my
317s: own projects? Or how would that be
319s: useful for this own thing that I'm
321s: developing? And it's the same thing, for
323s: example, if you try to build a Twitter
325s: clone. It's like, 'Okay, in my Twitter
327s: clone,
328s: what are the building blocks of this
330s: Twitter clone?'
331s: People seem to focus entirely on the
334s: output, and not on the building blocks
336s: that go into it. Where it's like, 'Okay,
338s: the things that I'm learning in order to
340s: do this Twitter clone, how can I use
342s: those in my own projects?' And I kind of
346s: thought about this a little bit, and
347s: it's like whenever I'm starting a new
349s: project, what my brain is automatically
352s: doing is filling in these building
354s: blocks of things that I've already
355s: learned. And I think ideally, like that
358s: is what coding tutorials should help you
360s: do. Because that's what every software
362s: project is. Every software project is a
364s: combination of building blocks that you
367s: have either
369s: discovered yourself, libraries that
371s: you've built yourself, or you know, like
373s: realizations about code and that you've
375s: made yourself, or they are building
378s: blocks that somebody else has taught
379s: you, whether that's on YouTube, in
381s: university, or even your AI coach.
385s: Now,
386s: what people don't seem to be able to do
388s: is take these LEGO bricks and use them
390s: to build something of their own. That's
392s: what happens when you get stuck in this
393s: tutorial hell, where it's like, 'Okay, I
395s: can only arrange these LEGO bricks one
398s: way, and that is the way that this
400s: person doing the tutorial has actually
402s: shown me.'
403s: And so, in order to get more out of
405s: coding tutorials, you should stop
407s: fixating on what the implementation is
410s: or what the example is that the person
412s: is trying to demo this to you with, and
414s: instead, you should focus on what other
417s: building blocks that they are trying to
419s: teach me about.
421s: And once you change that mindset, you
424s: can actually use those building blocks
426s: for other things.
427s: So, it's like, 'Okay,
429s: what building blocks go into making a
430s: Twitter clone?' Well, there's a front
431s: end, there's a back end. Okay, that's
433s: very high level. Let's dig about it
434s: deeper. We're going to have to have a
436s: search algorithm. We're going to have to
437s: have a ranking algorithm. We're going to
438s: have to have a database. We're going to
440s: have to have all of these things. And
441s: it's like, 'Okay, now that I know about
443s: all these individual components, I can
445s: actually take those,
447s: combine them in a separate in a
448s: completely different way, or even throw
451s: some out, pull some other ones in from
453s: another project, and all of a sudden,
454s: I've got something unique.'
457s: And that's kind of what all software
459s: projects are like. So, So, I'm starting
460s: something new, my brain is automatically
462s: like going through its catalog of LEGO
464s: bricks at a very high level. Of course,
467s: I'm not thinking about the individual
468s: code lines that I'm going to be writing
470s: yet. I'm simply thinking about the
472s: high-level architecture. And all of
474s: these building blocks that I know about
477s: are being rearranged into a solution.
479s: And so, when you look at coding
481s: tutorials, try not to look at them for
484s: the output or the, you know, the thing
486s: that you come away with at the end of
488s: the day, but instead, try and focus on
490s: what the person who's doing the demo is
493s: trying to teach you about. The actual
495s: concepts that go into building the thing
498s: that they are building in that example.
500s: Don't just try and replicate the example
502s: itself, because
504s: at the end of the day, if all you can
506s: replicate is that one example, you're
508s: not going to be very useful to anybody.
511s: And so, what you have with a coding
513s: tutorial, I'll finish up this analogy
515s: and then I'll probably end the video,
517s: because that's kind of all I wanted to
518s: talk about, is
520s: you essentially, you can think of it as
522s: like a LEGO guide. And so, when somebody
524s: does a demo to you, where they show you
526s: how to make
527s: a clone or they're trying to teach you
529s: about a concept and they use an example,
532s: what they're doing is they have this
533s: like LEGO instruction manual that
535s: teaches you how to build the Death Star.
537s: Now, what components actually go into
539s: building the Death Star? Like, there's
541s: individual pages in that LEGO manual
543s: where it'll teach you how to build like
544s: the superstructure. It'll teach you how
546s: to build the laser, you know, like
549s: we'll take that laser and put it
550s: somewhere else.
552s: That's kind of what I'm trying to say
553s: here, is like and so, when I see people
555s: arguing about the implementation details
558s: of the example, it shows me that they
560s: have completely missed the point and the
562s: point is
564s: just think about what I'm trying to demo
567s: to you and then extrapolate that outside
570s: of this demo to see how that could be
572s: useful in your own things. And perhaps
574s: it was that
575s: the demo that I gave was fairly basic.
578s: It was like baby's first linked list
580s: except with void pointers and that was
582s: intentional. That was so that people who
584s: have never heard of void pointers before
586s: can get in and actually start building
588s: things and kind of understand what's
590s: happening. Now, the people commenting
592s: about the linked list implementation
594s: details, I'm not going to try and
596s: downplay or belittle their intelligence
598s: because it probably is most likely that
601s: they already knew about void pointers
603s: because if you know about those advanced
605s: linked list implementations, you kind of
607s: already know about void pointers. And in
609s: that case, like the video actually
612s: unfortunately, I'm sorry. It's not
613s: really for you. Like if you already know
616s: about the concept,
618s: the video is not for you and the demo is
620s: not for you because you already know
622s: about that. And it's kind of
624s: counterproductive to just be arguing
626s: about the example. If I had titled the
628s: example,
629s: like if I titled that video, how to
631s: build a linked list in C,
633s: then that is a very appropriate place to
635s: be discussing to be discussing the finer
638s: details and different implementations of
640s: a linked list. That's like the perfect
641s: place to do it because the explicit
643s: purpose of the video is to show you how
645s: to build a linked list, but the explicit
648s: purpose of that video that I did was to
650s: teach people how to make like the title
652s: of the video was build arbitrary data
654s: libraries in C or something like that.
657s: So, it's like
658s: by arguing about the implementation
659s: details of the linked list, that is not
661s: really the point of the demo.
664s: Anyway, that's kind of just what I
665s: wanted to say
667s: is
668s: why I think people get stuck in tutorial
670s: hell is because they're so focused on
672s: the exact example and they're so focused
674s: on the output that they fail to break
677s: the thing that the person doing the
680s: video is trying to teach them about into
681s: smaller parts and they fail to
683s: generalize what those parts can actually
686s: mean. And so, whenever you're trying to
688s: start a new software project, what your
691s: mind should be doing is kind of like
692s: using these LEGO bricks that you have
695s: learned about in your mind and you know,
697s: learned about through like tutorials or
699s: books or university or something like
701s: that. And
703s: you should be trying to figure out how
704s: you can rearrange them to make the thing
706s: that you want to make. And that's how
707s: you get the most out of coding tutorials
709s: is you look at everything as brick by
711s: brick, this is what I'm trying to build
713s: and what I'm trying to build in
714s: Minecraft is a really ugly house. So,
717s: don't please don't go to town on me
719s: about that, but you know, that's what
721s: I'm trying to get across is
723s: just don't focus on the implementation
725s: details. If you really want to learn,
727s: you've got to be building this catalog
729s: of LEGOs in your mind that you can bring
732s: software projects together with later on
734s: down the line. So, that's kind of all I
737s: wanted to say about that. It's pretty
739s: simple. I just think you need a mindset
740s: change. I don't think these coding
742s: tutorials are necessarily bad. And I
744s: think you can get a lot of value out of
746s: them, but you've got to be approaching
748s: them the right way. And it's the same
749s: thing with like AI-assisted coding. Like
751s: if you're asking AI, 'Hey, how how would
753s: I make this project?' Um you know, and
756s: the AI's going to spit back a whole
757s: bunch of code. It's like, 'Okay, so how
760s: did you actually do that? What building
761s: blocks did you use to do that? What
763s: techniques did you use to build that?'
765s: That's kind of what I wanted to say.
766s: Thanks, guys.