I partially agree ;-) do(x) is overloaded, but having one verb in a system only works when the verb is passing a command language (like SQL). Having one verb and overloading it with a 'deferred verbs' isn't true polymorphism.
----- 'select *' isn't overloaded, nor is it polymorphic. It isn't even an operator - it's a command language. Passing command languages is fundamentally different than operator overloading. Polymorhism doesn't apply to passing interpreted command languages. ---- Do you consider REST as having a similar two stage verb system? That is, does REST hide/defer the actual verb (ship, fire, etc.) Clearly REST has a set of first order verbs (HTTP verbs). But can we think of the state change induced verb (Ship Order, Fire Employee) as the second order implicit verb? If so, does it fall victim to the same rule that I applied to the earlier do() example? Jeff --- In [email protected], "Nick Gall" <[EMAIL PROTECTED]> wrote: > > See my answers inline. > > On 9/11/06, jeffrschneider <[EMAIL PROTECTED]> wrote: > > > > Let's take REST out of the equation for a second. > > > > Do you consider the standard relational database as having a > > polymorphic interface? > > do('Select * from Employees') > > > > Is 'do' polymorphic? Depends on the API suite that 'do' is part of. If > > 'do' is a unique operation on only relational datasets, then no. If 'do' is > > overloaded to apply to lots of different types of "objects", then yes. > > > > Is 'select' polymorphic? Yes, since it works for all relational objects > > (ie tables). > > > > Why/Why Not? > > > > Thanks, > > Jeff > > Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/service-orientated-architecture/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/service-orientated-architecture/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
