Young Coder
Published in

Young Coder

Comments Are Useful Lies

You can’t trust code comments. But does that make them worthless?

Picture courtesy of Icons8

If you’re a programmer, there are plenty of practices to hate. Hard-coded values. Duplicate logic. Complex inheritance hierarchies. But should code comments be on the list?

Long ago, writing a comment was seen as a simple bit of good coding hygiene. When you coded, you left brief…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Matthew MacDonald

Matthew MacDonald

10K Followers

Teacher, coder, long-ago Microsoft MVP. Author of heavy books. Join Young Coder for a creative take on science and technology. Queries: matthew@prosetech.com