3 ms·
> I am in full agreement with Douglas Crockford and others that adding pseudo-classes to JS was a big mistake. Why? It's certainly not a requirement of TS, an
by pimterry 10y ago
> I am in full agreement with Douglas Crockford and others that adding pseudo-classes to JS was a big mistake.
Why?
It's certainly not a requirement of TS, any more than it is in JS, and I've seen people writing large TS codebases without classes. Typically with a much more functional approach though. I don't see people writing many prototypical objects with TS. Is there a good reason they should be?