|
|
|
|
|
by MrResearcher
1067 days ago
|
|
I came to typescript after many years of C++. I found typescript to be a much better language than C++ overall, and I'm far much more productive with typescript.
I'm glad that a lot of people can manage without the types, and I've seen many successful big projects plowing along just nicely.
I personally wouldn't be able to maintain a large project without types. It seems that a lot of people figured out for themselves how to do it. If you are one of them, how do you refactor the codebase? Are you relying solely on unit tests to avoid breaking all involved pieces? In Typescript I usually just go ahead and change the structure or method parameters in type-incompatible way. In many cases it's sufficient to fix all places to maintain the project in an unbroken state. I'm looking forward to the launch of Zig, that should be a good choice for WASM. Only if I could get a pytorch-like interface in Zig now... |
|