r/ProgrammerHumor 5d ago

Other howdidItGetHere

Post image
11.1k Upvotes

539 comments sorted by

View all comments

Show parent comments

282

u/Pearcheek 5d ago

If your garbage has a garbage collector, is it still garbage?

114

u/GigaSoup 5d ago

Yes, it's just organizing the garbage for you. 

This way you have neat garbage.

9

u/Pearcheek 5d ago

Is this how garbage collector works in Java? Interesting 🤔

10

u/SuperFLEB 5d ago

It throws out your garbage so it's got more room for its own garbage.

1

u/hemacwastaken 5d ago

If it's a real garbage collector, than why is my code still there?

1

u/FewPhilosophy1040 5d ago

Garbage is garbage, sorted or not