Yearly Archives: 2012

Software Requirements – Part 2

This is the second part of the summary of the Software Requirements book. Previous posts: Software Requirements – Part 1   Let’s continue our discussion with new questions. Who is a customer? An individual or organization who derives either direct or indirect benefit from a product. It is clear that customer development relationship is extremely […]

Continue reading

2 Software Requirements – Part 1

In the 1995 the Standish Group did a very revealing research called The Chaos Report. The research shows a staggering 31.1% of projects will be cancelled before they ever get completed. Further results indicate 52.7% of projects will cost 189% of their original estimates. Lack of user input and incomplete requirements and specifications were listed as […]

Continue reading

1 Top Coder Problem – Boxing

TopCoder is an amazing platform to challenge yourself. I decided to start posting my solutions to problems with the following purposes: Stimulate myself to practice more Stimulate my friends to solve the problem Stimulate my friends to join TopCoder and challenge themselves Compare and contrast different solutions Notes: TopCoder only accepts solution written in C# […]

Continue reading

The Facade Pattern in .NET

The Facade Pattern provides a unified interface to a set of interfaces in a subsystem. Facade defines a higher level interface that makes the subsystem easier to use. The Facade Pattern is the simplest of the patterns and it is something that many developers probably used a lot in the past without even knowing that […]

Continue reading

2 Scope of Local Variables in C# and C++

Consider the following code in C++: This code actually compile and the output is the following: The important thing to notice here is that in C++ is possible to declare a variable with the same name in a nested block. In fact the standard documentation say: “A name declared in a block is local to […]

Continue reading

The Adapter Pattern in .NET

The Adapter Pattern converts the interface of a class into another interface the clients expect. Adapter lets classes work together that couldn’t otherwise because of incompatible interfaces. The pattern is also called “Wrapper” because it is usually implemented using the technique of wrapping objects (object composition). There are different situation when the pattern can be […]

Continue reading

6 The Command Pattern in .NET

The Command Pattern encapsulates a request as an object, thereby letting you parameterize other objects with different requests, queue or log requests, and support undoable operations. The formal definition of the pattern is quite general and it shows how the pattern is versatile and can be used in many scenarios but the real important thing however is the […]

Continue reading

Abstract Factory Pattern in .NET

The Abstract Factory Pattern provides an interface for creating families of related or dependent objects without specifying their concrete classes. In a previous post, I have shown that in the Factory Method Pattern the object creation is done through inheritance. Instead, the Abstract Factory use object composition. Object creation is implemented in methods exposed in […]

Continue reading
1 2 3 5