Re:Algebraic Data Types for C99
by thesz on Thursday May 09, 2024 @02:26PM
(#40311298)
"Haskell is the best imperative language," (C) various software engineers.
Also, algebraic data types can be seen as hierarchy consisting of abstract base class and several final children classes. So it is an inheritance model, just restricted one.
Also, algebraic data types can be seen as hierarchy consisting of abstract base class and several final children classes. So it is an inheritance model, just restricted one.