What Have You Learned?

Good design is doable, isn’t it? It’s the little details that improve the overall picture, and the art is to spot the flaws in the class at hand.

You probably didn’t write a lot of the code you see on your screen most of the time. So you’ll probably have to put some effort into understanding a coder’s reasoning behind her design decisions. And you always have a lot of choices to make when you design your code. It’s your job to weigh the benefits and concerns that each solution imposes. You have to make an informed decision with trade-offs that affect properties of your code, like readability, testability, maintainability, and performance.

The latter is usually the least concerning, at least at the start. When programming ...

Get Java By Comparison 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.