this post was submitted on 08 Oct 2023
1081 points (96.6% liked)

Programmer Humor

19564 readers
795 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 17 points 1 year ago (8 children)

There’s no way you teach a uni course and do this kind of thing unless to demonstrate poor practice/run time difference. Are you sure you were paying attention?

[–] [email protected] 17 points 1 year ago* (last edited 1 year ago) (5 children)

Yes. He really thought it was efficient and would avoid errors if literally all variables were defined in a single Matlab function he called at the beginning of the script. We students all thought: "Man, are you serious?" As we didn't want to debug such a mess, in our code, we ignored what he was doing and kept using local variables.

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (2 children)

Lecturers at universities tend to have little to no industry experience at all.

[–] [email protected] 3 points 1 year ago

That's why when your job hires new people right out of college they have no idea what they're doing and now must be trained how to actually do the job. "What, you mean we aren't writing this enterprise application in python!?"

load more comments (1 replies)
load more comments (3 replies)
load more comments (5 replies)