CodeX
Published in

CodeX

The most hated code comments types

Some of the most hated types code comments you can find in almost every codebase. Here below a frequently updated list with my personal experience.

Have fun 😋

1- The “fainted away”

/* This calculates the  */

2- The “totally useless”:

/* The field color red */
private Color red;

3- The “confused”:

/* returns always true */
public boolean isThisTrue(Object obj) {
return false;
}

--

--

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