You Need Subtyping

Viewed 29
The article discusses the necessity and implications of subtyping in programming languages. It argues that many existing programming languages lack a robust subtyping system, particularly when it comes to handling nullable types and memory layout concerns. The comments reflect a mix of agreement and disagreement, with some pointing out the common use of subtyping through object-oriented principles and inheritance, while others criticize its efficacy and mention issues like covariance in TypeScript. Overall, the conversation highlights ongoing debates in the programming community about the utility and design of subtyping.
0 Answers