The question is, is there a solution, which is both aesthetically and technically better?
PS: in dynamic languages, this capability is built-in. If you want an object to have an additional field, you can add that field dynamically.
The question is, is there a solution, which is both aesthetically and technically better?
PS: in dynamic languages, this capability is built-in. If you want an object to have an additional field, you can add that field dynamically.