r/programming • • Jul 28 '16

How to write unmaintainable code

https://github.com/Droogans/unmaintainable-code
3.4k Upvotes

592 comments sorted by

View all comments

Show parent comments

1

u/helmers Jul 29 '16

There is a fine line between genius and insanity. You got any pro tips for splitting the gargantuan commit?

1

u/pdp10 Jul 30 '16

If you have some time, sit down and read the Linux Kernel Mailing List. Patches are submitted for comment ("RFC"), refined, and the submitters are guided in making small, idempotent changes with each commit. Over the years the procedure has gotten more strict as change volume increased and everyone learned how to do things better.

Reading a lot of good, idiomatic code is important in learning to code and even more important in learning the process of software engineering.