Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

which non-programmers write worst code?

Name: Anonymous 2019-01-11 8:30

programmers write shit code. non-programmers write worse. but which is the worst?

I'm betting on physicists. their're are programs are the epitome of 'writing Fortran in every language'. recently I've had to add functionality to a FIOC program written by a physicist and I had to spend the last two days refactoring it because he refused to learn the higher-level features of the standard library (who needs itertools/functools when you can roll everything by hand with loops?), gave most variables single-letter names and reused each of them for different purposes (k might have started out as a list but he needed a boolean now so why waste a perfectly good letter?), single-responsibility principle was non-existent (code which generated data didn't return it but it did output it; also, command-line arguments were passed to every single function as a one huge dictionary) and dead code was never removed or commented out, just left there without anything referencing it (after all, haxMyAnus() might not work correctly so it's good to keep hax-my-anus(), haxmyanus() and hax_my_anus() around just in case).

Name: Anonymous 2019-01-11 9:53

Computer scientists.

Name: Anonymous 2019-01-11 10:07

>>2
CS lecturers can write absolutely atrocious code, especially when writing examples to introduce some concept. I vividly remember a book which tried to explain exceptions by making a program in which the entire control flow was based on throwing and catching Edited on 11/01/2019 10:21.

Name: Anonymous 2019-01-11 12:01

game programmers

Name: Anonymous 2019-01-11 12:08

mathematicians

Name: Anonymous 2019-01-11 12:13

>>4
Unreal and Quake engines look pretty solid.

Name: Anonymous 2019-01-11 12:15

>>5
Mathematicians heavily refactor their code, using macros like WOLOG.

Name: Anonymous 2019-01-11 12:19

Name: Anonymous 2019-01-11 12:31

>>8
Seems like an american thing only?

Name: Anonymous 2019-01-11 12:32

>>6
I think that xie is referring to things like undertale and yandere simulator.

Name: Anonymous 2019-01-11 12:48

dubs-checkers

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List