The Clean Architect

  • Home
  • Blog

Refactoring

Clean Code

Splitting Code #7

We learn something new from the template request provider in AngularJS.

By Don Pavlik, 6 yearsMay 20, 2019 ago
Clean Code

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…

By Don Pavlik, 6 yearsMay 13, 2019 ago
Clean Code

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…

By Don Pavlik, 6 yearsMay 6, 2019 ago
Clean Code

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…

By Don Pavlik, 6 yearsApril 29, 2019 ago
Clean Code

Splitting Code #3

Taking the shallow copy function in AngularJS and making it more readable.

By Don Pavlik, 6 yearsApril 22, 2019 ago
Clean Code

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.

By Don Pavlik, 6 yearsApril 15, 2019 ago
Clean Code

Splitting Code #1

First in a series where we take good code and make it better, by following Clean Coding practices.

By Don Pavlik, 6 yearsApril 8, 2019 ago
Recent Posts
  • Automation, AI, and Unit Tests
  • Getting Ubuntu Installed on Windows without Using the Windows Store
  • Updating Web.config with CORS and Multiple Domains
  • Splitting Code #7
  • Splitting Code #6
Recent Comments
    Archives
    • July 2021
    • September 2019
    • May 2019
    • April 2019
    • November 2018
    • October 2018
    • September 2018
    • August 2018
    • July 2018
    Categories
    • Cheatsheet
    • Clean Code
    • Code Quality
    • Code Tip
    • Commentary
    • DevOps
    • Evaluations
    • LaunchDarkly
    • Patterns & Practices
    • Refactoring
    • Reference
    • Security
    • Splitting Code
    • Uncategorized
    Meta
    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    • Blog
    • Home
    Hestia | Developed by ThemeIsle