www life
giovedì 29 novembre 2012
decorator pattern key point!
"...its vital that the
decorators have the same type as the objects they are going to decorate
.
So here were using
inheritance to achieve the type matching, but we arent using inheritance to get behavior
."
Post più recente
Post più vecchio
Home page