Code comments are DEAD…or ARE they??

Greg L. Turnquist
5 min readFeb 2

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

Developer on the Spring team and the host of Spring Boot Learning at https://youtube.com/@SpringBootLearning and author of best selling Learning Spring Boot.