1174
Comenting code
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
the "what" is interesting on interfaces or when you generate documentation with some tool like sphinx or javadoc.
the "why" is interesting when you are somewhere inside a class or function and do something in a "strange" way, to work around a quirk in the codebase or something like that, or when you employ optimizations that make the code harder to read or atleast less obvious why somethings are done.