Skip to Content
Clean Code: A Handbook of Agile Software Craftsmanship
book

Clean Code: A Handbook of Agile Software Craftsmanship

by Robert C. Martin
August 2008
Intermediate to advanced
464 pages
13h 48m
English
Pearson
Content preview from Clean Code: A Handbook of Agile Software Craftsmanship

16Refactoring SerialDate

Image

If you go to http://www.jfree.org/jcommon/index.php, you will find the JCommon library. Deep within that library there is a package named org.jfree.date. Within that package there is a class named SerialDate. We are going to explore that class.

The author of SerialDate is David Gilbert. David is clearly an experienced and competent programmer. As we shall see, he shows a significant degree of professionalism and discipline within his code. For all intents and purposes, this is “good code.” And I am going to rip it to pieces.

This is not an activity of malice. Nor do I think that I am so much better than David that I somehow ...

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

Designing Data-Intensive Applications

Designing Data-Intensive Applications

Martin Kleppmann

Publisher Resources

ISBN: 9780136083238Purchase Link