Angular Function Declarations, Function Expressions, and Readable Code
Posted by: JohnPapa.net,
on 06 Sep 2014 |
View original | Bookmarked: 0 time(s)
We spend more time reading our code than writing it. That’s why it makes sense to write code that is easier to read. The good news is that there are a lot of really simple things that can make your code much more readable. This post describes a simple techniques to make AngularJS controllers and services/factories more readable. For more details on these and other Angular coding styles, please see my Angular Style Guide and my upcoming Pluralsight course “AngularJS Patterns: Clean Code”...