
Clean Code – Comments Are Lies
Coding Blocks
00:00
Commenting Is a Necessary Evil, Right?
Comments are a necessary evil, but they're often wrong. A lot of times its just old code that i get confused about and get, youknow, it's weerd. If you name your method properly, and if your method reads well, you don't need to comment it. That's it is. It's simple. But what do you do with legacy code? Well, both legacy code and good code have some dependencies in there that make it a little difficult to bring them up on their own. So the only solution is ju to snip it out, right?Well, yes. I mean, there was actually a great quot in here that i wanted to say that starts
Transcript
Play full episode