Splitting Code #6
Today I am going to go through the AngularJS’s testability.js file, for two reasons; first, to learn how they approached making the framework testable and second to see if there are any opportunities to clean up the code. Making your code testable appears to be a topic of some debate, Read more…
Splitting Code #5
Today I am going to go through AngularJS’s urlUtils.js file and see what we can learn from going it. Documentation, this file has a lot of it, and most of the documentation is used for generating their documents, a feature I like but also one that tends make the code Read more…
Splitting Code #4
Today’s subject gets a small refactor, as the existing code is already in good shape. As I have been going through the code base of AngularJS I have been noticing a majority has been written with care for future maintenance. The document file was selected to show method extraction; this Read more…
Splitting Code #3
Taking the shallow copy function in AngularJS and making it more readable.
Splitting Code #2
Duplicate code shows up for its time in the lime light, see how we promote him to a new role, by following Clean Coding practices.
Splitting Code #1
First in a series where we take good code and make it better, by following Clean Coding practices.