|
|
|
|
|
by cryptica
2491 days ago
|
|
>> javascript codebases become read only :-D This is BS. I've built very large JS projects with hundreds of thousands of lines and never had this problem.
If your architecture is well designed and modular then refactorings are easy and localized to just a small number of files.
On the other hand, TypeScript encourages spaghetti code which makes refactorings span more files; complex active instances end up getting passed around all over the place and makes your code brittle and fully dependent on TypeScript to make any changes. TypeScript allows you to write a lot of spaghetti code and allows you to delay having to think about architecture until your code is a total complete unmaintainable mess. With JS, you will discover if you architecture is a mess a lot sooner and you will learn more and adapt faster. |
|