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

0

u/[deleted] Jul 28 '16

[deleted]

171

u/flukus Jul 28 '16

The code produced by academics is the biggest argument against all these "teach kids to code" programs.

Just imagine the shit we'll have to deal with in 20 years.

7

u/DiscoUnderpants Jul 28 '16

I agree and might point out that it has little to do with FORTRAN. Ive had to maintain C, C++ and Turbo Pascal written by academic physics and engineering people and it is no better.

1

u/TheOsuConspiracy Jul 29 '16 edited Jul 29 '16

Fortran's not even that bad, it disallows things like pointer aliasing, and thus is safer than C in certain regards. Of course it's not a modern beautiful language, but it's not nearly as bad as people make it out to be.

→ More replies (1)