Why Strings?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Why Strings?

Sean P. DeNigris
Administrator
Converting domain objects to and from Strings seems deeply embedded in Magritte. But sometimes, e.g. if the underlying object is text, it seems to be more appropriate to just pass the text to the view/editor. I played a bit with this idea but quickly got lost. Has anyone ever experimented with this idea? Would it make sense / be possible to refactor and abstract so that Text or another class could be plugged in instead of String? Or maybe there are already hooks for this?
Cheers,
Sean