optimal java experience

https://lemmy.ml/post/2105561

optimal java experience - Lemmy

I know the guy meant it as a joke but in my team I see the damage ā€œacademicā€ OOP/UML courses do to a programmer. In a library that’s supposed to be high-performance code in C++ and does stuff like solving certain PDEs and performing heavy Monte-Carlo simulations, the guys with OOP/UML background tend to abuse dynamic polymorphism and write a lot of bad code with lots of indirections and many of them aren’t aware of the fact that virtual methods and dynamic_cast’s have a price and an especially ugly one if you use them at every step of your iterative algorithm. Like the guy in the meme I certainly wouldn’t want to have someone in my team who was molded by Java and UML diagrams.
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.

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.

@einsteinx2 @magic_lobster_party

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