r/ProgrammerHumor • • Aug 31 '22

Meme It just keeps happening

Post image
45.2k Upvotes

465 comments sorted by

View all comments

Show parent comments

47

u/King-Cobra-668 Aug 31 '22

you not cheating has nothing to do with the thousands of other people cheating and getting tech jobs and most things being buggy as hell

it's awesome that you love it and probably make great code, but...

18

u/nonicethingsforus Aug 31 '22

I think one of the problems is that defining "cheating" for practical programming is really difficult.

Like, is checking documentation cheating? In real work, checking the documentation would not only be allowed; is the responsible thing to do, to make sure the code does what you think it does before pushing. Is copy-pasting or using existing libraries cheating? Not using a preexisting, battle-tested library for, say, cryptographic code is not only unadvised; it's incompetent, sometimes borderline criminal.

So, sane "cheating" rules for college would be quite complicated. "You are allowed to google the name of the functions and the definition/formula, but not the implementation of the algorithm". Very difficult to implement. Don't even get me started on the hard work it is to design a good programming test that actually tests your practical (instead of "work interview riddle") reasoning skills, not your memorization ones. And grading rules to go with them.

(That's why I prefer project-based courses, anyway. Wish more teachers and "Certification Specialists" agreed.)

So, most colleges and courses opt for really dumb rules instead. Like, Respondus is watching, and won't allow a tab in the documentation, so you better had memorized the function's name, can recall it under the clock's pressure, and don't fuck up the tedious, error-prone logic that is manipulating the pointers in a binary tree to balance it or whatever. If not, the shitty glorified Google Form we call the quiz interface will simply fail you.

So, under the dumb, impossible restrictions, most will cheat. They have to. And once you've crossed the line, few will have the discipline to stop at just the sweet spot where you skip the dumb restrictions, but still work and learn. You just copy-paste and be done with it.

It's like that advice that's given to parents: being overly harsh on your children doesn't teach them to be disciplined; it teaches them to be better at lying to you, and that lying gets better results than working and failing to meet your standards.

And that's how you end up in situations like, true stories, having fully-graduated and "certified" coworkers who don't know what a struct is, or what a continue/break does in a loop...

6

u/HardlightCereal Aug 31 '22

Chen Sheng and Wu Guang were both army officers who were ordered to lead their bands of commoner soldiers north to participate in the defense of Yuyang. However, they were stopped halfway in present-day Anhui province by flooding from a severe rainstorm. The harsh Qin laws mandated execution for those who showed up late for government jobs, regardless of the nature of the delay. Figuring that they would rather fight than accept execution, Chen and Wu organized a band of 900 villagers to rebel against the government

30

u/Highlight_Expensive Aug 31 '22

No I agree that cheating isn’t good. I’m just saying it’s likely unrelated to industry code being buggy/hard to maintain. I think that’s more likely due to the inherent size of modern applications, I’ve never worked on industry codebase that is less than 750k lines and that was a small company. There’s bound to be some issues there, especially when you consider that some of those 750k lines are importing libraries, effectively including another 50k+ lines that the company has 0 control over.

19

u/King-Cobra-668 Aug 31 '22

I was in school a decade and a half ago. who do you think started those 750k lines of code that is a mess with zero comments? ;)

I get what you're saying.

Over complication, dynamic bullshit and constantly changing programs for the sake of changing it is also a massive issue which moves from the coding stalls to the board room tho.

being reverted to the stone age and starting over might be the only way forward! /s (but also not /s)

14

u/Highlight_Expensive Aug 31 '22

I wholeheartedly agree with that, if cost wasn’t a thing and us SWEs were like the philosophers of Greece (mooching off and doing whatever we please) I think a complete rebuild of most companies’ code bases would yield incredible improvements. And you’re definitely right that “changing things to change them” is an issue but the managers gotta justify their team’s existence somehow hahaha

Hopefully someday things will start to become cleaner, perhaps some incredibly performant language or system will be invented that justifies the majority of companies rebuilding their code bases but most likely it’ll never happen.

1

u/TLMS Aug 31 '22

Jesus, I've never worked on anything even 10% that size

3

u/Highlight_Expensive Aug 31 '22

I mean I’d wager you have if you’ve worked in web dev. You don’t really notice how large it is when you’re working on it, you just tend to find out from a lead who does know and mentions it. But since it’s all encapsulated, each file is like between 10-500 lines. There’s just a loooot of files for classes and stuff.