↧
Answer by Sygmoral for Cost using class vs interface for memory and performance
For super-simple data objects, use interfaces (or types). Examples: parameter objects, value types, and any other objects that don't require any built-in logic.For anything more complicated, use...
View ArticleCost using class vs interface for memory and performance
When writing typescript for my angular application, I can create my domain objects with an Interface or a class. I am looking for hard data on the actual costs of using the class approach. I know that...
View Article