The trick saves the person writing the code and anyone modifying it down the road.
You can't force everyone who edits your code to have linters and warnings turned on. Not everyone follows bests practices.
You can't force everyone who edits your code to have linters and warnings turned on. Not everyone follows bests practices.