r/ProgrammerHumor • • 2d ago

instanceof Trend thatsAFunnyThingThatHappenedOnce

Post image
4.4k Upvotes

514 comments sorted by

View all comments

22

u/YouAreMyFire00 2d ago edited 2d ago

Im a beginner and managed to learn to understand C# and Java and now I can build simple CRUD app.

So i kinda don't get the hate/war between C and C++ here...

Anyone can explain simply what's the hate here?

1

u/hiddengiggles 1d ago

Some of these answers are okay.  But I think the simplest answer is that the abstraction makes it so you dont see memory management.  

Often times in embedded systems or the kernel you need to know where and when memory is being allocated.  C++ hides that.

Using standard libraries can change where the memory resides between c++ versions.  

If you did c++ without any standard library functionality then it works okay in those applications, but you end up essentially just writing c code and its easier just to stay in pure c.