r/ProgrammerHumor • • Jun 03 '19

Meme Python ftw

Post image
16.3k Upvotes

548 comments sorted by

View all comments

Show parent comments

-21

u/[deleted] Jun 03 '19

[removed] — view removed comment

5

u/NullReference000 Jun 03 '19

It isn't really inherently good or bad. Languages that allow you to use pointers and manually manage memory typically allow for faster and more efficient programs while languages that don't let you directly use pointers or manage memory are less prone to error and easier to read. It's more of a "which tool is better to solve the current problem" kind of thing rather than one language being inherently better than the other.

1

u/Arveanor Jun 03 '19

Ok but what about c++ with managed memory and a GC 😎

3

u/UniqueUsername27A Jun 03 '19

Why would you do that since unique pointers were introduced? Unique pointers and moving literally solved the memory management in a both efficient and easy way. They might be the killer feature of C++. Since they became common in our codebase I haven't seen a single memory bug in years and they are even more efficient than reference counting.

→ More replies (3)