3 ms·
The class syntax feels like they wanted to make it clear that an object is just a tagged record with a vtable. Unfortunately, it ended up looking like they were
by PeCaN 10y ago
The class syntax feels like they wanted to make it clear that an object is just a tagged record with a vtable. Unfortunately, it ended up looking like they were trying to design a Java-like OO system without using the word “class”.
Thankfully you can generally avoid OOP in Ada with the really well designed packages and generics. I wish they hadn't tried to tack on OOP or at least not half-assed it so much.
I agree with you about the core language. It's elegant and fun to use. The stdlib isn't too bad either. I just wish it either was explicitly GCed or explicitly not-GCed like Rust, instead of “well, it could be GCed, so we'll make pointers kind of safe but kind of not”.