Why Java?

This book gives its examples in Java because Java is popular and important and will probably be the basis of future generations of computer languages. The popularity of a language is recursive. Developers invest their learning cycles in technology that they believe will last for at least a few years. The more popular a technology becomes, the more people want to learn it, and the more popular it becomes. This can lead to hype, or overexcitement about a technology's potential value. But Java is more than hype.

At a superficial level, Java is important because it is popular, but Java is also popular because it is a stride forward in computer languages. Java is a consolidation language, having absorbed the strengths and discarded the weaknesses ...

Get Design Patterns Java™ Workbook 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.