7 ms·
> And a less wacky OO system (invisible syntax, ugh). Didn't Ada 2005 fix the OO system to give it the CLASS syntax everyone is used to? Ada's usual syntax an
by com2kid 11y ago
> And a less wacky OO system (invisible syntax, ugh).
Didn't Ada 2005 fix the OO system to give it the CLASS syntax everyone is used to?
Ada's usual syntax and declaring class inheritance are isomorphic with each other, the transformation a compilers does are the same, but non-JS programmers are used to class inheritance syntax.
I've always wondered if JS programmers would actually pick up on Ada's object system faster, just because they wouldn't mind the lack of an explicit inherits quite so much.
As for GC, I thought it was optional in Ada, just never implemented. For most of Ada's target audience though, heap allocators are already verboten, so GC isn't needed. :)
I'd really like some of Rust's ownership semantics along with Ada's already well developed feature set. Pointer ownership is still a gnarly problem, I don't recall what, if anything, Ada does to help out with it.