October 2021
Intermediate to advanced
336 pages
9h 16m
English
This chapter covers
Comments are probably one of the most controversial topics in this book, so let’s start by clearing up which comments we are talking about. This chapter considers comments that are inside methods and not used by external tools, like Javadoc:
interface Color {
/**
* Method for converting a color to a hex string.
* @returns a 6 digit hex number prefixed with hashtag
*/
toHex(): string;
}
Although controversial to some, my opinion aligns almost perfectly with those expressed by many brilliant programmers. Comments are an art form, but unfortunately, not many programmers study how to ...
Read now
Unlock full access