2 ms·
I really like the balance struck by Ada's type system, especially Application-Defined types to model the problem domain - https://learn.adacore.com/courses/Ada_
by andsoitis 2y ago
I really like the balance struck by Ada's type system, especially Application-Defined types to model the problem domain - https://learn.adacore.com/courses/Ada_For_The_CPP_Java_Developer/chapters/05_Type_System.html#application-defined-types https://learn.adacore.com/courses/Ada_For_The_CPP_Java_Devel...
Other effective features of Ada's type system:
- type ranges (https://learn.adacore.com/courses/Ada_For_The_CPP_Java_Developer/chapters/05_Type_System.html#type-ranges https://learn.adacore.com/courses/Ada_For_The_CPP_Java_Devel...)
- generalized type contracts using subtype predicates (https://learn.adacore.com/courses/Ada_For_The_CPP_Java_Developer/chapters/05_Type_System.html#generalized-type-contracts-subtype-predicates https://learn.adacore.com/courses/Ada_For_The_CPP_Java_Devel...)
- attributes (https://learn.adacore.com/courses/Ada_For_The_CPP_Java_Developer/chapters/05_Type_System.html#attributes https://learn.adacore.com/courses/Ada_For_The_CPP_Java_Devel...)