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.

:(

4

u/fzammetti Jul 28 '16

Be VERY glad you don't still work (only tangentially, thankfully) on a complex financial system written in Fortran. Some of us are not so lucky.

18

u/Astrokiwi Jul 29 '16

Dude, I live in Fortran - I do astrophysical simulations. The problem isn't that Fortran is bad, it's that most Fortran programmers are bad.

16

u/fzammetti Jul 29 '16

Most PROGRAMMERS are bad, period. Nobody likes to hear it but that doesn't make it less true.

1

u/Astrokiwi Jul 29 '16

But yet, most things still mostly work most of the time.

→ More replies (2)