[JAVA] What is a meaningful comment?

I've been sick for a while, so I posted it after a long time. I tagged it as Java, but honestly it has nothing to do with Java, but rather a general story.

//Return "FALSE"
return false;

At this point, I have no choice but to laugh past my anger. If you don't think about this, you should quit the programmer. Carefully attach the key brackets. In fact, it's true that self-proclaimed senior SEs who love such comments and say "meaningless things have meaning" are rampant. Also, I feel that there are many students. The model answer for the report task is like this.

That's why the model answer.

//If you are not an administrator, employee, or agency
return false;
//Do not make screen transition
return false;

After writing so far, I found the following wonderful article. This one will be helpful (Ah

-To write comments that help readers of the code

Recommended Posts

What is a meaningful comment?
What is a constructor?
What is a stream
What is a Servlet?
What is a wrapper class?
What is a boolean type?
What is a Ruby module?
What is a floating point?
What is a jar file?
What is a Java collection?
What is a lambda expression?
What is a fa⁉ enum?
What is a snippet in programming?
What is a column Boolean type?
What is a reference type variable?
What is a lambda expression (Java)
[Swift] What is "inheriting a class"?
What is a Ruby 2D array?
What is Cubby
What is Docker?
What is a class in Java language (3 /?)
What is null? ]
What is a terminal? -Absolute path & relative path-
What is a Spring Boot .original file?
What is java
What is Keycloak
What is maven?
What is Jackson?
[For programming beginners] What is a method?
What is Docker
What is self
What is Jenkins
What is ArgumentMatcher?
What is IM-Juggling?
What is a class in Java language (1 /?)
What is params
What is SLF4J?
What is a class in Java language (2 /?)
What is Facade? ??
What is Java <>?
What is Gradle?
What is POJO
What is Java
What is centOS
What is RubyGem?
[Rails] What is a dot (.) Or a colon (:)?
What is programming?
What is before_action?
What is Docker
What is a request scope? Image commentary
What is Byte?
What is Tomcat
Introduction to Recursive Functions: What is a Recursive Function?
What is Maven Assembly?
What is `docker-compose up`?
What is vue cli
What is an interface?
What is Ruby's self?
What is hard coding?
What is Ruby's attr_accessor?
What is Java Encapsulation?