Talk Python To Me cover image

#246: Practices of the Python Pro

Talk Python To Me

00:00

Is It Necessary to Add a Comment?

Comments that are redundant to what the code around it could have been, or could have said, are definitely an anti pattern. I don't mind when a comment says the why of the code. Code often expresses simply the how or the what. But if you can't get all of that just by your variable names or your class names and stuff, like comments giving you that extra context are okay.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app