Most programmers believe they understand object-oriented programming. It is taught in universities and programming courses, and nearly every developer has encountered it early in their career. Given the number of books already written on the subject, another one may seem unnecessary. Yet the interpretation of OOP commonly presented in schools and classical texts often fails to help programmers produce maintainable software.
The usual process looks familiar. We begin by creating classes and objects, following the patterns recommended in textbooks. Over time we extend them with additional behavior. The classes grow, responsibilities accumulate, and the design gradually loses its structure. What started as a clean architecture becomes difficult to maintain and nearly impossible to test. Eventually the codebase turns into a ball of mud, motivation declines, and the temptation appears to start again from scratch—hoping that the next design will remain clean. Within a few months, the same pattern repeats.
This book, the first in a series, argues that the problem lies in the traditional interpretation of object-oriented programming. It proposes a different understanding of what an object is and how objects should relate to each other. Among its central claims are that object attributes must be immutable, and that constructs such as static methods and NULL references undermine sound object design.
Despite these strong positions, the book is not theoretical. Each idea is illustrated through practical examples written in Java, demonstrating how the concepts translate into everyday programming.
If you read the book from beginning to end, your perspective on object-oriented programming may change substantially. The way you structure classes, design interactions between objects, and reason about software architecture will likely shift. That change may even create disagreements with colleagues who follow more conventional approaches. Proceed carefully—and enjoy the process of writing code.
Die Inhaltsangabe kann sich auf eine andere Ausgabe dieses Titels beziehen.
Yegor is a CTO and co-founder of Teamed.io, a software development company with a unique approach to management of distributed teams; a regular blogger at www.yegor256.com; a proud holder of PMP and OCMEA certifications; a hands-on Java developer and a lead architect of a few popular open source projects, including jcabi.com, takes.org, rultor.com and qulice.com. Yegor lives in Palo Alto, CA and Kyiv, Ukraine.
„Über diesen Titel“ kann sich auf eine andere Ausgabe dieses Titels beziehen.
Anbieter: HPB-Red, Dallas, TX, USA
Paperback. Zustand: Good. Connecting readers with great books since 1972! Used textbooks may not include companion materials such as access codes, etc. May have some wear or writing/highlighting. We ship orders daily and Customer Service is our top priority! Bestandsnummer des Verkäufers S_480729486
Anzahl: 1 verfügbar
Anbieter: medimops, Berlin, Deutschland
Zustand: good. Befriedigend/Good: Durchschnittlich erhaltenes Buch bzw. Schutzumschlag mit Gebrauchsspuren, aber vollständigen Seiten. / Describes the average WORN book or dust jacket that has all the pages present. Bestandsnummer des Verkäufers M01519166915-G
Anzahl: 1 verfügbar
Anbieter: Sunshine State Books, Lithia, FL, USA
paperback. Zustand: Very Good. Paperback--excellent condition. Bestandsnummer des Verkäufers SS260716030G12
Anzahl: 1 verfügbar
Anbieter: BEST BOOK, Richardson, TX, USA
paperback. Zustand: New. Ship within 24hrs. 100% Satisfaction is Our #1 Goal! Bestandsnummer des Verkäufers N7-00058
Anbieter: WorldofBooks, Goring-By-Sea, WS, Vereinigtes Königreich
Paperback. Zustand: Very Good. The book has been read, but is in excellent condition. Pages are intact and not marred by notes or highlighting. The spine remains undamaged. Bestandsnummer des Verkäufers GOR011364155
Anzahl: 3 verfügbar
Anbieter: GreatBookPrices, Columbia, MD, USA
Zustand: New. Bestandsnummer des Verkäufers 26258738-n
Anzahl: Mehr als 20 verfügbar
Anbieter: California Books, Miami, FL, USA
Zustand: New. Print on Demand. Bestandsnummer des Verkäufers I-9781519166913
Anzahl: Mehr als 20 verfügbar
Anbieter: GreatBookPrices, Columbia, MD, USA
Zustand: As New. Unread book in perfect condition. Bestandsnummer des Verkäufers 26258738
Anzahl: Mehr als 20 verfügbar
Anbieter: Rarewaves USA, HEBRON, KY, USA
Paperback. Zustand: New. Bestandsnummer des Verkäufers LU-9781519166913
Anzahl: Mehr als 20 verfügbar
Anbieter: Rarewaves.com USA, London, LONDO, Vereinigtes Königreich
Paperback. Zustand: New. Bestandsnummer des Verkäufers LU-9781519166913
Anzahl: Mehr als 20 verfügbar