Code comments are DEAD…or ARE they??

Greg L. Turnquist
5 min readFeb 2, 2023

We’ve all dabbled with code comments. In fact, when learning programming, it’s one of the first little things you learn.

/**
* We were all shown how to add our own comments to code,
* perhaps on Day 1.
*/
public class MyExample {
public static void main(String[] args) {
System.out.println("Really cool, ehh?");
}
}

Stuff like this is something coding instructors love to show. And it’s cool, right? Write all the commentary you want about your code.

  • How it works

--

--

Greg L. Turnquist

Sr. Staff Technical Content Engineer at CockroachDB • YouTube Content Creator at https://youtube.com/@ProCoderIO • Best-Selling Author • Coffee Lover