The Shape of Everything
A website mostly about Mac stuff, written by Gus Mueller
» Acorn
» Retrobatch
» Twitter
» Micro.blog
» Mastodon
» Instagram
» Github
» Maybe Pizza?
» Archives
» Feed
» Micro feed
December 5, 2002
(This post is from my old, old, super old site. My views have changed over the years, hopefully my writing has improved, and there is now more than a handful of folks reading my site. Enjoy.)

I'm amazed at how easy it is to do xmlrpc in Python.

import xmlrpclib server = xmlrpclib.Server('http://betty.userland.com/RPC2'); print server.examples.getStateName(34)

and that's it. I wonder if such a thing could be done for objective-c. A way to call methods with arguments that don't really exist in a class...

Server *server = [[Server alloc] initWithUrl:@"http://betty.userland.com/RPC2" andHandler:@"examples"]; NSString *state = [server getStateName:5];

... oh that would be sweet.