3 ms·
> places where JS makes more sense (eg libraries that would otherwise need to have very abstract types) If your library is hard to type, it is a code smell. In
by LudwigNagasena 3y ago
> places where JS makes more sense (eg libraries that would otherwise need to have very abstract types)
If your library is hard to type, it is a code smell. In my opinion, such libraries could benefit from TS a lot.
- muxr 3y agolibraries if they are popular in general are expected to work with a wide variety of code. Supporting code smell is a feature.
- Destiner 3y agovariety of code is one thing, your library can be used in thousands of places, doesn't mean it have to do thousands of different things
- seattle_spring 3y agoCan you share some examples of libraries you feel benefit from this sort of unlimited flexibility?
- PH95VuimJjqBqy 3y agojquery