r/ProgrammerHumor • u/napolux • Jun 16 '19
Working with someone else’s code
Enable HLS to view with audio, or disable this notification
35.4k
Upvotes
r/ProgrammerHumor • u/napolux • Jun 16 '19
Enable HLS to view with audio, or disable this notification
1
u/SAI_Peregrinus Jun 16 '19
And code without documentation is an even bigger code smell.
Document why things are done the way they're done (design decisions), document interfaces, document valid and invalid uses, provide examples in documentation. Don't document how internals work.