Perfection and Why You Need to be Specific in Your Requirements

Apparently, the American computer giant IBM decided to have some parts manufactured in Japan as a trial. In the specifications, they set standard that they will accept only three defective pieces per 10,000 pieces.

When the delivery came to IBM there was a letter accompanying it.

“We, Japanese people, had a hard time understanding North American business practices. But the three defective parts per 10,000 pieces have been separately manufactured and have been included in the consignment in a separate package mentioned — ‘Defective pieces as required; not for use.’ Hope this meets your requirement”

In Some Workplaces Perfection is a Habit, Not An Attitude!

 

Favor composition over inheritance.

Master and Student…

Master: Grasshopper, tell me what you have learned of the Object-Oriented ways.

Student: Master, I have learned that the promise of the object-oriented way is reuse.

Master: Grasshopper, continue…

Student: Master, through inheritance all good things may be reused and so we come to drastically cut development time like we swiftly cut bamboo in the woods.

Master: Grasshopper, is more time spent on code before or after development is complete?

Student: The answer is after, Master. We always spend more time maintaining and changing software than on initial development.

Master: So Grasshopper, should effort go into reuse above maintainability and extensibility?

Student: Master, I believe that there is truth in this.

Master: I can see that you still have much to learn. I would like for you to go and meditate on inheritance further. As you’ve seen, inheritance has its problems, and there are other ways of achieving reuse.

====

This quote comes from Head First Design Patterns, I personally favor composition over inheritance.

The Strategy Pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets the algorithm vary independently from clients that use it.

My Blog Story!

How I started blogging?

I’ve been doubting for some time to create a blog that is dedicated to my profession, thanks to many who encouraged me especially Ron Brinckman the owner and CEO of IPROFS his simply an awesome person who is open and warm the best employer I had since years. Thanks Ron!

The final decision came after joining a free three-week email course focused on getting you up and running quickly, the course is given by John Sonmez at simpleprogrammer.com.

Read more