Matt S Trout
dbix-class at trout.me.uk
Sat May 12 02:49:19 BST 2007
On Fri, May 11, 2007 at 11:36:05AM -0700, chromatic wrote:
> On Friday 11 May 2007 08:58:51 Peter Corlett wrote:
> > Sure C has objects. They're just called structs, that's all.
> Sure C has types. They're just the number of bits you can read or write
> before crashing, that's all.
You should get yourself a copy of TCP/IP Illustrated Volume 2 and look at
how the old BSD stack used structs to provide N sets of functions pointers
to implement the interface per network device type. Bar the lack of mutability
of the keys it's not vastly unlike a package symbol table, at least in terms
of -conceptualisation- of OO.
The syntax isn't beautiful, but nor's Foo::Bar::Baz::quux($FooBarBaz, @args)
- which realistically perl's method dispatch boils down to eventually.
If you're going to strawman at least pick one that isn't already on fire :)
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director Want a managed development or deployment platform?
Shadowcat Systems Ltd. Contact mst (at) shadowcatsystems.co.uk for a quote
More information about the london.pm