webcomic name: Photo
webcomicname.com
external-link

the same joke every time by alex norris

@benark@beehaw.org
link
fedilink
English
21Y

Refactoring, without test coverage, in a nutshell.

Definitely adding this one to the dev guidelines on unit and integration tests. 👍🏼

I don’t think I’ve met a codebase that had tests that would work with the level of refactoring that would need to be done. I mean let’s be honest here, if it was well architected, refactoring wouldn’t be like the comic. It’s probably a mess of entangled concerns and bad inheritance.

For that matter the code most in need of refactoring probably has shit tests and that just assertNotNull on the happy path to appease sonar and be done with it.

Create a post

All things programming and coding related. Subcommunity of Technology.


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

  • 1 user online
  • 1 user / day
  • 2 users / week
  • 8 users / month
  • 88 users / 6 months
  • 1 subscriber
  • 303 Posts
  • 2.15K Comments
  • Modlog