|
|
|
|
|
by claytongulick
2135 days ago
|
|
I'm glad that someone else is willing to point out that the TS emperor has no clothes. I see teams waste so much time on type garbage that serves no useful purpose, some code bases up to 70% of the code is all type stuff. I guess it looks good for pseudo productivity when sprint planning though. Perfect example of activity over achievement. |
|
So true. And it's not just the time it takes to code and review the code but also the time it takes to talk and agree about types. In my last TS project we were constantly discussing what types should be called and whether a type should be split into two different types or if two different types should be merged into one. Mostly we had trivial arguments about problems which TypeScript forced us to think about which has nothing to do with logic and which we otherwise wouldn't have to think about at all.