4 ms·
Ownership itself might not be, but lifetimes are and the two concepts are tightly related. That's why Java and C# both had to introduce a way of (semi-)automat
by blub 8y ago
Ownership itself might not be, but lifetimes are and the two concepts are tightly related.
That's why Java and C# both had to introduce a way of (semi-)automatically closing resources, waiting for the GC was a catastrophe.
- maxxxxx 8y agoThat’s what I find ironic about C#. In some ways I worry more about and do more manual memory management than I did in C++.
- pjmlp 8y agoCommon Lisp, CLU, Mesa/Cedar, Modula-3 and many other system languages with GC always supported those kind of mechanisms. Java and C# did nothing new there, only catching up with was already the state of the art before they were born.