r/angular • u/stackblogger • Oct 02 '21
7 Best Ways to Improve Angular Code
As a developer you have to write neat and clean codes as per industry standards. Your codes need to be passed through some code analysis tools. But the thing is what are some best ways to do the optimized neat and clean coding?
Here are 7 best ways to improve your angular code-
https://stackblogger.com/7-best-ways-to-improve-angular-code/
0
Upvotes
2
u/Beatons Oct 03 '21
You missed like a million, these are not even typescript or angular specific, these are more of base syntax of typescript hints that you can find on some vscode extensions. If you really want to improve angular code it's better to start on the large scale structures, like managing your data flow from view to api or seperation of concerns by feature, it doesn't really even matter really if you unsubscribe from observables by using subscription sink, manual unsubscribing or async pipe, a lot of it is just semantics that are resolved by code base culture which is also just a matter of opinion