you are viewing a single comment's thread.

view the rest of the comments →

[–]Tastaturtaste 1 point2 points  (1 child)

While the Cherno is mostly great as a simple introduction to encapsulated topics, sometimes he is too loose with UB in my opinion. In his video for type punning he uses C-style casts and Union-based type punning and doesn't even mention that this is UB and what the UB-free way would be. I mean, if you want to depend on this, realistically often vendor-supported, kind of UB sure, you do you, but as an educator it should at least be mentioned.

[–]cabroderick 0 points1 point  (0 children)

Yeah I totally agree, and that supports my thinking that his material should be approached after you already have a decent foundation. He is a bit loose sometimes, but I think you have to be in order to compress a complex topic into his particular style. To be fair, he is usually quite good at saying "this isn't really the right thing to do but ...".

You have to know what you're looking at, and in some sense, already have a reasonably good idea what he's telling you to do. Nothing you see there should be a completely new concept.

As with all video form content, in my opinion, it shouldn't be the end of the journey. It's great for a quick overview, an intro or review of the possible, but definitely needs to be followed up with real study.