4 ms·
I see a lot of untypeable code (in views). Doesn’t that slow you down whenever you want to make a change in an existing codebase?
by xixixao 7y ago
I see a lot of untypeable code (in views). Doesn’t that slow you down whenever you want to make a change in an existing codebase?
- brailsafe 7y agoI feel like what actually gets output to the dom sees more of a benefit from sensible templating than from typability. Can't think of a time in untyped codebases where I thought that was important enough to slow me down. Perhaps it could help in typed codebases though.
- ratww 7y agoIn another comment I linked to some tools that can typecheck views. It is also possible to use JSX. I've found out however that unit testing works fine for those cases.