Don't comment bad code rewrite it.

โ€” P. J. Plaugher, Brian W. Kernighan

#commenting #refactoring

Don't comment bad code rewrite it.

โ€” P. J. Plaugher, Brian W. Kernighan

#commenting #refactoring

How can you use code coverage and mutation testing to add tests to legacy code? At @mendercon last year, I demonstrated this powerful technique step by step on the Gilded Rose kata, which is hosted by @emilybache on her GitHub account: https://github.com/emilybache/GildedRose-Refactoring-Kata

You can watch the talk here: https://www.youtube.com/watch?v=0qna5cuzDI0

#CSudberyRecordings #CodeCoverage #MutationTesting #GildedRose #Refactoring #UnitTests

I'm speaking at this year's #Devopsdays Amsterdam, happening next week June 18-20. I'll be hosting my workshop "Refactoring Legacy Code Guided By Approval Tests". So come join this fun event with me, and network with like minded people about #DevOps and more. And to make things even better, use the voucher #FRIENDS_OF_SPEAKERS when buying your ticket for a 20% discount on the regular 2-day ticket.

https://devopsdays.org/events/2025-amsterdam/welcome/

Hope to see you there.

#refactoring #tdd #approvaltests #softwaredesign

The class functionality of the class then drinks the squeaks of tests and the starting of the refactoring, bug fixes and the next tests until all tests will not begin to work correctly.

#coding #refactoring #unittest #kde #linux #CPP #Qt

Code smells.

โ€” Martin Fowler

#bugs #debugging #refactoring

GitHub for Beginners: Code review and refactoring with GitHub Copilot

Learn how to use GitHub Copilot to help review and polish your code.

The GitHub Blog