this post was submitted on 16 Jul 2023
1267 points (98.8% liked)

Programmer Humor

32571 readers
115 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] magic_lobster_party@kbin.social 33 points 1 year ago (4 children)

I think many academic courses are stuck with old OOP theories from the 90s, while the rest of the industry have learned from its failures long time ago and moved on with more refined OOP practices. Turns out inheritance is one of the worst ways to achieve OOP.

[–] fidodo@lemm.ee 20 points 1 year ago

I think a lot of academic oop adds inheritance for the heck of it. Like they're more interested in creating a tree of life for programming than they are in creating a maintainable understandable program.

[–] einsteinx2@programming.dev 11 points 1 year ago (2 children)

That’s the problem, a lot of CS professors never worked in the industry or did anything outside academia so they never learned those lessons…or the last time they did work was back in the 90s lol.

Doesn’t help that most universities don’t seem to offer “software engineering” degrees and so everyone takes “computer science” even if they don’t want to be a computer scientist.

[–] zbecker@mastodon.zbecker.cc 2 points 1 year ago

@einsteinx2 @magic_lobster_party

This is most definitely my experience with a lot of CS professors unfortunately.

[–] jungle@lemmy.world -2 points 1 year ago* (last edited 1 year ago) (1 children)

There's an alternative system where this doesn't happen: pay university professors less than a living wage.

You do that, and you'll get professors who work in the industry (they have to) and who love teaching (why else would they teach).

I studied CS in country where public university is free and the state doesn't fund it appropriately. Which obviously isn't great, but I got amazing teachers with real world experience.

My son just finished CS in a country with paid and well funded university, and some of the professors were terrible teachers (I watched some of his remote classes during covid) and completely out of touch with the industry. His course on AI was all about Prolog. Not even a mention of neural networks, even while GPT3 was all the rage.

[–] rbhfd@lemmy.world 2 points 1 year ago (1 children)

who love teaching (why else would they teach)

Professors love doing academic research. Teaching is a requirement for them, not a passion they pursue (at least not for most of them).

[–] jungle@lemmy.world 1 points 1 year ago

Yeah, that makes it even worse.

To be clear, I'm not advocating for not paying living wages to professors, I'm just describing the two systems I know and the results.

I don't know how to get teachers who are up to date with industry and love teaching. You get that when teaching doesn't pay, but it'd be nice if there was a better way.

[–] Aceticon@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

The Design Patterns book itself (for many an OO-Bible) spends the first 70 something pages going all about general good OO programming advice, including (repeatedly emphasised) that OO design should favour delegation over inheritance.

Personally for me (who started programming professionally in the 90s), that first part of the book is at least as important the rest of it.

However a lot of people seemed to have learned Patterns as fad (popularized by oh-so-many people who never read a proper book about it and seem to be at the end of a long chinese-whispers chain on what those things are all about), rather than as a set of tools to use if and when it's appropriate.

(Ditto for Agile, where so many seem to have learned loose practices from it as recipes, without understanding their actual purpose and applicability)

I'll stop ranting now ;)