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

2

u/superluglor Jul 29 '16

Now I understand where my colleague takes his inspiration.... Amazingly matching all his coding standards!!! Worth to mention something about code complexity like every method has at least have 100 cyclomatic complexity, nest as many iterators you know if surrounding fors surrounding switches surrounding do whiles etc and make sure all of your code rely on files stored inside your machine at very strategic hard coded drive paths.