this post was submitted on 16 Jul 2023
1243 points (98.9% liked)

Programmer Humor

32410 readers
1 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] AlmightySnoo@lemmy.world 96 points 2 years ago* (last edited 2 years ago) (28 children)

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 (they put on a pikachu face when you show them that there's also static polymorphism) and write a lot of bad code with lots of indirections and many of them aren't aware of the fact that virtual functions and dynamic_cast's have a price and an especially ugly one if you use them at every step of your iterative algorithm. They're usually used to garbage collectors and when they switch to C++ they become paranoiac and abuse shared_ptr's because it gives them peace of mind as the resource will be guaranteed to be freed when it's not needed anymore and they don't have to care about when that is the case, they obviously ignore that under the hood there are atomics when incrementing the ref counter (I removed the shared pointers of a dev who did this in our team and our code became twice as fast). Like the guy in the screenshot I certainly wouldn't want to have someone in my team who was molded by Java and UML diagrams.

[–] angrynomad 1 points 2 years ago (1 children)

Sounds like you know some stuff. I forgot everything from uni and never did programming professionally. What types of jobs could/should I look at to do C? After some refresher courses on Coursera or something. I always hated java. Been looking to get back into the field, anything but webdev

[–] AlmightySnoo@lemmy.world 1 points 2 years ago (1 children)

You can (re)learn proper C (along with basic data structures and algorithms) with something like Harvard's CS50 and then some modern C++ with Stanford's CS 106L. After that you continue casually with the excellent "Back to Basics" videos of the CppCon Youtube channel. As for jobs, that really depends on your background.

[–] angrynomad 1 points 2 years ago (1 children)

I've had cs50 in my bookmarks forever, I think I probably know all of that. And just always underestimated my skill.i was so put off by web dev and constantly flooded with Indian recruiters pushing shit web dev jobs and then ghosting me I quit the whole industry after some horrible freelance experience. I'll take a gander at those links, thanks. What kind of jobs should I actually look for, I have no idea what really exists, I'm really trying to land something remote? I casually do Arduino coding as well, love those embedded things like esp8266. Ai and ml might be interesting, but I have zero focus on anything and can't seem to go s direction

[–] AlmightySnoo@lemmy.world 1 points 2 years ago

What background do you have? It will help to narrow things down a bit.

load more comments (26 replies)