From: K. G. <kim...@gm...> - 2008-10-27 08:15:31
|
Dean, On Sun, Oct 26, 2008 at 16:04, Dean Michael Berris <mik...@gm...> wrote: > > It's really more about avoiding as much of the decisions from reaching > runtime -- and putting in the decisions in the design. For instance, > an HTTP URL has waaaaay different parts from an email address (where > both can be depicted as a URI). Another thing you can think of is the > conversion from one URI type to a different URI (or URL) can happen > with explicit compile-time rules: Sure, I can understand the motivation, but sometimes I think the code gets too "artificial" to warrant the effort. I think that's primarily because I don't recognize the idioms, patterns and practices the way I do in the OO world. I'm going to give up on the URI feature. It's evident that we are thinking in diametrically different directions, and I have no way of expressing myself in these terms. I did learn some interesting techniques along the way, though, thanks for the help. - Kim |