TypeScript is billed as JavaScript with types, which is great and high tech and useful and all, but I really like that you can just write code that describes a class rather than writing code that meticulously constructs a class-like contraption.
With JavaScript, I’d say:
- There are many ways to do things.
- Some ways are obviously bad.
- Some ways are subtly bad.
- The good way isn’t obvious.