Re:Algebraic Data Types for C99
by throwawaymaths on Thursday May 09, 2024 @11:56PM
(#40315391)
The new lowest level pls (zig, rust) have ditched class based inheritance. Higher level PLs are going more functional, to include JS, where entire frameworks are encouraging functional (not to mention how everyone complains about the opacity of trying to use inheritance in place of declarative i.e. Amazon CDK)
Sum typing might be better! But frankly the jury is still out, and the impact is clearly going to be smaller than what you're imagining.