DeepRead
Cover of Elegant Objects

Elegant Objects

Yegor Bugayenko · 2016

Programming and computer science › Software design and clean code

#6,509 most recommended

About the book

Elegant Objects is a practical guide to object-oriented programming, aimed at working developers and written mainly with Java examples. It covers how to design classes, objects, and interfaces and how they interact, from the level of single constructors and methods up to the structure of a program. Bugayenko argues that much code labelled object-oriented is procedural in disguise, with objects that are passive data holders manipulated from outside. He proposes strict rules as the remedy: objects should be immutable, avoid null and static methods, expose behaviour rather than getters and setters, and keep constructors free of logic beyond assigning attributes. He claims that following these constraints produces smaller, more readable, and more testable code.

Written by Claude from what it knows of this book.

What Hacker News says 40% recommend · 0% critical

02.55201620182020202220242017 peak · 2
This bookAverage book in Software design and clean code

In the commenters’ own words

What Open Library readers say 4.00 from 1 rating

  1. 50
  2. 41
  3. 30
  4. 20
  5. 10
  • 6 want to read
  • 0 reading
  • 1 have read

Only 1 rating: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2016
ISBN
9781519166913
Editions known
4 at Open Library
Open Library
OL24338438W

Explore in the mosaic

Read next: its neighbours on the mosaic