Code comments are DEAD…or ARE they??

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.

--

--

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.

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
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.