Stephen Bartholomew
sb.beginrescue.com
Stephen Bartholomew
@sb.beginrescue.com
Ruby dev | build stuff & be kind 🚀❤️

https://beginrescue.com/
How did I not know that 1Password uses Rails?!
December 2, 2024 at 10:43 PM
100% isolated unit test coverage within a module makes it _really hard_ to refactor code.

Today I deleted a ton of unit tests that mostly just replicated what was already covered by the module’s integration test.
December 2, 2024 at 7:52 PM
If I recall the Pragmatic Programmer advice correctly, DRY was mostly about not repeating domain concepts or knowledge, not lines of code.

Somewhere along the way that nuance got lost.
December 2, 2024 at 12:01 AM
Nice post - the question should never be “how do I remove repetition?” - it should be “how do I make this more understandable?”

It’s super common for folks to confuse a heuristic with a solution.
December 1, 2024 at 11:24 PM