Skip to Content
Hands-On Software Engineering with Python
book

Hands-On Software Engineering with Python

by Nimesh Verma, Brian Allbee
October 2018
Beginner to intermediate
736 pages
17h 39m
English
Packt Publishing
Content preview from Hands-On Software Engineering with Python

Code review, refactoring, and cleanup

There are at least a couple of items in the code as it stands right now that could be reviewed and remedied.

So far, there's been no call for any request-response process that would need to simply return any of the data objects. There are, however, methods that were stubbed out to address those potential needs (the various response_{object} methods in ArtisanGatewayDaemon), even though the needs themselves never surfaced. While it doesn't hurt to leave them in place, that would, ultimately, entail having test case classes and/or test methods that are required by the testing policy that don't really serve any purpose. The methods being tested don't do anything, and aren't expected to in the foreseeable ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Software Architecture with Python

Software Architecture with Python

Anand Balachandran Pillai
Data Structures and Algorithms in Python

Data Structures and Algorithms in Python

Michael T. Goodrich, Roberto Tamassia, Michael H. Goldwasser

Publisher Resources

ISBN: 9781788622011Supplemental Content