What is Garbage Collection

Published: 14. Sep 20

Briefly explained, garbage collection is a process whereby objects (objects are pieces of data that describe the state and behaviour of data) that are unused

are thrown out and replaced by useful objects. The process by which this happens is called "Automatic Reference Counting".

Back in the day, programmers had to do this manually. Thanks to programming languages like JavaScript and C# (pronounced C-Sharp) garbage collection happens automatically.

 

We'd love to hear from you!

Contact us Today