|
|
|
|
|
by linkmotif
2698 days ago
|
|
> Show me a Typescript codebase not using the type 'any'! Show me a Java project without an unchecked cast... I’m not a CS person but my impression is that sometimes you need these types and they exist in the type system for a reason. No type system is conceptually “perfect” as in there are soundness/expressively tradeoffs. I don’t think using ‘any’ is always bad. Sometimes it’s even right? |
|
But in TS, the main reason for "any" is interop with JS.