Refactoring

You have already come across the word refactoring in earlier chapters, and might have wondered what it means. An explanation is in order.

Just look around. Peep inside your closet or open your desk drawer. On day one, everything looks tidy and manageable. The drawer is meant to store all your important financial documents. Things begin to accumulate over time, and the drawer is now stuffed with not just with financial documents, but anything varying from scribbled notes, office documents, to greeting cards. Very soon, you cannot find that important document you need right now. You spend a lot of time digging out what you need.

The golden moment finally arrives. You begin the cleanup operation! Several things are found to be useless, ...

Get Learning Python Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.