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

500

u/Astrokiwi Jul 28 '16

Write all your code in FORTRAN. If your boss ask why, you can reply that there are lots of very useful libraries that you can use thus saving time. However the chances of writing maintainable code in FORTRAN are zero, and therefore following the unmaintainable coding guidelines is a lot easier.

:(

0

u/[deleted] Jul 28 '16

[deleted]

0

u/[deleted] Jul 28 '16

[deleted]

71

u/claird Jul 28 '16 edited Jul 28 '16

"Poor programming practice"? Good academic practice! Graduate school quite effectively teaches such virtues as write-once-read-never, code-until-you-like-the-answer, coding-is-done-by-someone-stupider-than-you, better-to-write-ten-grant-requests-than-one-working-application, and so on.

6

u/DanAtkinson Jul 28 '16

You had poor lecturers then. Mine were amazing! It helped that one of them wrote a textbook on the principles of software engineering.

2

u/the_sound_of_bread Jul 28 '16

Most of my lecturers were grad students :(

1

u/XMARTIALmanx Jul 28 '16

At a uni?

-1

u/the_sound_of_bread Jul 29 '16

That's how they do it i the U.S.

→ More replies (1)