3 ms·
I like the way the D language approached this. It's garbage collected but it also has a "delete" function/operator. That way you can use garbage collection if y
by __david__ 16y ago
I like the way the D language approached this. It's garbage collected but it also has a "delete" function/operator. That way you can use garbage collection if you'd like, or you can manually free memory when you think it's worth it.
That seems like a reasonable compromise and I'm surprised that more languages don't do it.