23 ms·
Having worked at a company with a million-lines-plus of Python monolith, gradual typing annotations made all the difference. Why do you need it enforced at runt
by wittekm 3y ago
Having worked at a company with a million-lines-plus of Python monolith, gradual typing annotations made all the difference. Why do you need it enforced at runtime? It's static types!
- kristianp 3y agoThey said "by the runtime", perhaps they mean that the python interpreter should throw errors at compilation time, since its not a classic compiled language.
- dragonwriter 3y ago> They said "by the runtime", perhaps they mean that the python interpreter should throw errors at compilation time, since its not a classic compiled language. Why waste time doing static analysis each time you run the code? If you don't change the code, its not going to change.
- Paul-Craft 3y agoOh boy. A million-line monolith.... Does this company name start with a 'Y' by any chance?
- shortcake27 3y agoMany people like working on monoliths. Let people enjoy things.
- KeplerBoy 3y agoBecause the type annotations are worthless if you can't ever be certain that they actually hold. Currently they are little more than a crutch to have intellisense working.