Refactoring Pro-Tip: I Optimize Scannability, Then Readability, Then Writability

Refactoring Pro-Tip: I optimize my code for scannability, readability, and writeability in that order. I won't argue my case in detail, there's a video if you'd rather watch me make it instead of reading it, and I'll just sketch the case briefly here in the muse. http://geepawhill.org/optimizing-a-program-and-programming/ When I'm coding, I notice that I spend significantly more time scanning the…

Continue Reading

Refactoring Pro-Tip: Refactor to Enable Change

Refactoring Pro-Tip: The triggering events for refactoring vary, but the reason we refactor at all is the same each time, regardless of occasion: we refactor to enable change. The most obvious and direct occasion for a refactoring is this: I want to add new functionality and preserve old functionality, and it will be easier to add if I first schmoosh…

Continue Reading
Close Menu
×
×

Cart