News for hackers. Stuff that matters.
Re:The little legacy code that could: a fable of software ow... by backslash_16 on Friday June 28, 2019 @04:17PM (#20308441)
For anyone who wants to learn about working with and on a "legacy" code-base, check out Michael Feather's book "Working Effectively with Legacy Code"

In the beginning it goes over code smells and how to find refacing seams in your language of choice (C, C++, or Java) and then each chapter is a group of techniques you can use.

Working on a service that had both a very old monolith and some brand new microservices, I found it invaluable. I think the first lesson I applied from it was using pinning tests for safer refactoring.

Re:The little legacy code that could: a fable of software ow... by touristtam on Saturday June 29, 2019 @01:17AM (#20310928)
> I think the first lesson I applied from it was using pinning tests for safer refactoring.

Thanks for the book recommendation. Funny to realize I have done this in the past without prior knowledge; it just made sense.