On Wed, Oct 23, 2013 at 8:44 PM, Tyler Romeo tylerromeo@gmail.com wrote:
On Wed, Oct 23, 2013 at 10:54 PM, Chad innocentkiller@gmail.com wrote:
I've personally not been convinced of this Value/Parser/Formatter pattern but if I'm the only one I'll just keep my big mouth shut
I agree with this as well. The idea behind this RFC is the "hair can't cut itself" pattern.
I wish my hair could cut itself ;-)
However, a value object needs to be easily serializable. So what representation is used for serializing a TitleValue? It can't be the display title or DB key since that's part of the TitleFormatter class.
I would assume something like the prefixed text form. As long as the TitleValue knows its namespace and title you can guess the rest.
-Chad