I get why “self-documenting code” is a dirty word. On the other hand, I feel like (for example)
public protocol = "https://";
is not substantially clarified by adding a comment explaining that it isThe protocol of the request
. And if it’s adding lines, and hence reducing the fraction of the relevant logic that I can view on my screen at time, it’s probably net reducing readability.Endorsed.
Many lines are self-documenting, some functions are self-documenting, no files are self-documenting.