Pattern: Use of this
in static method
Issue: -
Ban the use of this
in static methods.
Rationale: It's pretty hard to wrap your head around the meaning of this
in a static context. Especially newcomers will not recognize, that you are in fact referencing the class
(or the constructor
to be more precise).