r/ProgrammerHumor 2d ago

Meme pythonFeelsillegal

Post image
6.7k Upvotes

219 comments sorted by

View all comments

363

u/LucyShortForLucas 2d ago edited 2d ago

There is no such thing as switching from C++ to python or vice versa, they are orthogonal tools

65

u/jamesianm 2d ago

orthogonal tools

Ah, like a lug wrench?

170

u/Llonkrednaxela 2d ago

Shh, the CS101 userbase of this subreddit doesn't pick languages based on the task and what management demands, they use the language the professor told them to use in the assignment.

101

u/Kusko25 2d ago

That sounds like picking the language management demands

36

u/chilfang 2d ago

Shhhh we in CS 102 need to lord over our lesser somehow just give us this

1

u/rorodar 21h ago

What would you even do in cs102? After the basics you need to do specific stuff, no? I took intro to cs and then ds, oop, next sem algos and probability.

2

u/DoctorMakar 16h ago

It's pretty common for 101 to be basic programming and then 102 to be basic OOP programming. Not 100% universal though and many places that have this structure still have a separate OOP course too.

1

u/rorodar 14h ago

So 101 is intro and 102 is just the oop course? I guess that makes sense if you think of it as "you need the intro for everything and oop for a job", so while 102 isn't a prerequisite for most courses it'd still be seen as more needed than if it were just called OOP?

15

u/Actes 2d ago

Or if you work where I work. They just use java.

Is it scripting? They're gonna write it in java

Is it an API? Probably in java

Is it anything? "Seems like a good use case for java"

God I hate java, one thing I'm happy about AI for.

3

u/zabby39103 2d ago

Okay for scripting that's kind dumb, but otherwise Java is versatile and powerful, and light years ahead of stuff like Python for stuff like multithreading. What version are you using at work? Is it an old one or something? Are you using a good IDE like IntelliJ?

1

u/Actes 1d ago

We should just be using go we run a search engine on my team via SOLR and honestly the 16 years of springbean hell has taken its toll.

1

u/zabby39103 1d ago

Right, yeah, early Spring did too much "magic", and that magic hid the inner workings... until shit crashed. The current best practices are less that.

GO is a good algorithmic language, not sure how it replaces a full featured framework like Spring though?

1

u/ThatOldCow 2d ago

Maybe you need some Java (the coffee brand) ..

4

u/TomsCardoso 1d ago

Changing careers withing software is a thing you know.

6

u/danted002 2d ago

Bold of you to assume, your average Reddit user know what orthogonal tool means

-8

u/El_Lasagno 2d ago

I learned C++, had to do python for a project. C++ gives me errors. Python will give me an answer. I learned to be very very cautious.

8

u/frogjg2003 2d ago

If C++ is giving you errors, the equivalent python code will as well. It might be easier to write code that compiles on python than C++, but that doesn't mean bad syntax doesn't exist in it.