|
|
|
|
|
by codesushi42
2617 days ago
|
|
There is benefit to future proofing code with basic static analysis for type checking. But it is always an incomplete solution because a) old code needs to be retrofitted, see TypeScript's way of defining type maps for vanilla JS or b) more commonly you keep the code around that's using unsafe types, effectively passing void*|Object|"choose your poison" around. |
|