Object Oriented Design

OOP considered harmful ?

A dose of anti oop

Guowei Lv

1 minute read

I have no intention to start flame war here. Just over the years of exploring, I have collected some materials that are not supporting the mainstream OOP paradigm. I just list them here, in no particular order. Stop Writing Classes This is a great talk, I think people will agree most of what’s in this video. The Third Million Line Problem This is slightly off topic, but interesing to watch.

GOOS Book Distilled Part 12

A follow through of the great book Growing Object-Oriented Software, Guided by Tests with code

2 minute read

This is a series of blog posts going through the great book Growing Object Oriented Software Guided By Tests, typing in code chapter by chapter, trying to add some of my own understanding where things may not be easy to grasp in the book. I highly recommand you get a copy of the book and follow along with me. Happy coding. This post covers Chapter 19 Handling Failure, which is also the last chapter in the book related to this project.

GOOS Book Distilled Part 14

A follow through of the great book Growing Object-Oriented Software, Guided by Tests with code

8 minute read

This is a series of blog posts going through the great book Growing Object Oriented Software Guided By Tests, typing in code chapter by chapter, trying to add some of my own understanding where things may not be easy to grasp in the book. I highly recommand you get a copy of the book and follow along with me. Happy coding. This post covers Chapter 17 of the book: Teasing Apart Main.

Some explanation of the Announcer

A follow through of the great book Growing Object-Oriented Software, Guided by Tests with code

5 minute read

This is a series of blog posts going through the great book Growing Object Oriented Software Guided By Tests, typing in code chapter by chapter, trying to add some of my own understanding where things may not be easy to grasp in the book. I highly recommand you get a copy of the book and follow along with me. Happy coding. In the GOOS book, the author at some point mentioned that a Announcer class from JMock is used.

GOOS Book Distilled Part 13

A follow through of the great book Growing Object-Oriented Software, Guided by Tests with code

3 minute read

This is a series of blog posts going through the great book Growing Object Oriented Software Guided By Tests, typing in code chapter by chapter, trying to add some of my own understanding where things may not be easy to grasp in the book. I highly recommand you get a copy of the book and follow along with me. Happy coding. Adding Items through the User Interface A Simpler Design Now the UI designer finally catches up and provides a sketch of the new user interface, with one text field and a Join Auction button.