Steven Atkinson Tech Blog
  • Home
  • About Me
  • Contact Me
  • The Site
Sign in Subscribe

Refactoring

A collection of 4 posts
The Haunted Codebase
Halloween Special Featured

The Haunted Codebase

On a hot summer night, Sarah found herself contemplating strange existential questions, like whether she'd offer her throat to the wolf with the red roses. But as October's first storm roared outside her window, those thoughts evaporated. Seated alone at her computer, her room was a
31 Oct 2023 12 min read
Congratulations, you’ve just inherited a legacy application
Software Development

Congratulations, you’ve just inherited a legacy application

Painting the picture 🖌 You’ve just started a new job, and are full of enthusiasm and ready to get stuck in… You’re new boss approaches you and asks you to have a look at one of their old projects… You think nothing of it, and relish the thought of
29 May 2018 4 min read
Lock-step Refactoring in Node.js (Part 3)
Javascript

Lock-step Refactoring in Node.js (Part 3)

The story thus far… In part two we refactored the Faker object into a class. This allowed us to inject it into our Ancient faker module. So now how to we use this to our advantage? Stubbing using Sinon Standalone test spies, stubs and mocks for JavaScript. Works with any
25 May 2018 2 min read
Lock-step Refactoring in Node.js (Part 2)
Javascript

Lock-step Refactoring in Node.js (Part 2)

The story thus far… So in part one we refactored the Ancient faker module into a class. We updated the tests and everything was still working as expected 😎. So what do we do next? Why did we even start refactoring again? As I mentioned in part one, occasionally some of
24 May 2018 2 min read
Page 1 of 1
Steven Atkinson Tech Blog © 2025
  • Sign up
Powered by Ghost