3 ms·
> ...never heard this in Ada circles... I tried to track down where I read someone advocate this, but I can't find it now. I probably shouldn't have accused th
by ajxs 2y ago
> ...never heard this in Ada circles...
I tried to track down where I read someone advocate this, but I can't find it now. I probably shouldn't have accused the whole Ada community (of which I'm a member) of this attitude. Regardless, I find it odd that 'Unchecked_Deallocation' is so thoroughly discouraged without what I'd consider an acceptable alternative.
> A programming language is seldom used without its standard library...
Nearly all of the Ada I write is for RISC-V microcontrollers, using the 'light' runtime that comes bundled with GNAT. There's no collection classes, and no heap for them to allocate anything in. The semantics of the language are absolutely still important. I still want a language that makes harmful mistakes difficult.