(no title)
w3news
|
2 years ago
Typescript wil not help, you can create the same mass.
What me helped is to write almost all code functional and not oop.
Every method had just 1 way data can in and out the method, no side effects.
Classes have a lot of flexibility that make things complex and increase bugs.
If you are strict in what to accept and what to produce, and start with the test, if you create mess, you can eat refactor to create clean code.
No comments yet.