+ 4

Why doesn't C++ have a garbage collector?

10th Apr 2019, 1:26 AM
MrGernae - avatar
2 Answers
+ 12
Because it's a language made for responsible adults who know how to clean up after themselves. On the downside, having to consider memory management may use up some of your brain power which could have been used to focus on higher level concepts instead.
10th Apr 2019, 5:30 AM
Sonic - avatar
Because C++ let the programer delete the allocated memory when it's unused. By this way, the good programer can make very fast programs and can economise memory in programs, unlike other programing languge
8th May 2019, 8:25 PM
Mustapha Oujaoura
Mustapha Oujaoura - avatar