Quantcast
Channel: Cost using class vs interface for memory and performance - Stack Overflow
Browsing all 2 articles
Browse latest View live

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 Article


Cost 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

Browsing all 2 articles
Browse latest View live


Latest Images