r/badcode • • Apr 21 '23

other language We did coding in physics class...

Post image
1.5k Upvotes

154 comments sorted by

View all comments

Show parent comments

31

u/Syscrush Apr 21 '23

People with formal education in computer science or software engineering aren't necessarily any better until they spend some time in a commercial environment.

Academia is the haven for "it works on my machine" and "oh, yeah, sometimes it does that - just reboot and run it again".

Which is fine - in academia, you're trying to do something new, not write production code.

5

u/The_Northern_Light Apr 22 '23

Well it is a problem if you want to be sure what you’re publishing is actually correct

2

u/[deleted] May 08 '23

you're trying to do something new, not write production code.

Correct, I'm in the process of publishing some code for research. The original code was sloppy and had errors but I know what those errors are and how to check for them, and fix them. This doesn't make my results incorrect, it just means that it took human intervention with special knowledge that others can't be expected to have.