2 ms·
I came here to write exactly that. There was once a time when such 'js ninja' skills were appropriate, but now they almost represent an anti-pattern in normal
by jollybean 5y ago
I came here to write exactly that.
There was once a time when such 'js ninja' skills were appropriate, but now they almost represent an anti-pattern in normal usage.
For some kind of framework, maybe.
But otherwise, they're just going to cause problems and they don't really provide something really valuable wherein another more basic use case wouldn't be better.
A pragmatic approach might be to 'stick to a solid version of Typescript' and even then be wary of the fancy stuff unless it's truly needed. (Say, you're building a lib or some core module).