Geeks With Blogs

Keith Nicholas November 2010 Entries
Refactoring C
I’ve recently begun working on an embedded C project where the code has got pretty out of hand and I’m tasked with bringing some sanity to the code. It quickly reaffirms my main focus of good software development. Nice simple composable functions. Everything about good design boils down to writing good functions. Refactoring bad C to good C is a bit of a mission. But my first whack at doing it is always “Extract Method” (well, other than removing the million warnings that the C compiler helpfully ......

Posted On Friday, November 19, 2010 2:45 PM

Copyright © DesigningCode | Powered by: