DEV Community


Discussion on: How I improve my skills in Typescript

blindfish3 profile image
Ben Calder • Edited

In a real project you should use another way to make the difference between each class

Indeed; that was precisely my point: it's an ill-conceived example and demonstrates how not to use Typescript. There's little point demonstrating that functionality exists if you don't also demonstrate the thought processes required to use it properly.