vagif•

You can't. If it is a guideline, it will be ignored by > 90% of developers. They only way to ensure that developer does something correctly is to enforce it on the compiler/language level.

And that's why pure functional languages are great. They enforce good programming practices, instead of begging developers to follow the guidelines.

1
codeodorOP•

I liked the great advice on how to do this at the end of the article. Guess no one read down that far?

1