Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Zoo: zsh oriented object



On 3/18/07, Marc Chantreux <marc.chantreux@xxxxxxxxxxxxxxxxxx> wrote:
Hi all,

At the begining of last summer, Nikolai Weibull posts on zsh-users[1] that he uses autoload to deal with namespaces for his own libraries. Some posts later, Peter Stephenson told me about the ksh-style autoload. I dreamed about object oriented zsh: being able to write something like

use Zoo
use Ldap

#call the ldap constructor
# ( ldap/_new defined in Ldap )
new Ldap srv directory.example.com cn=admin 'giv3m3r00t'

#
host $( $srv .host )
$srv Search uid=mc
delete $srv

Hahaha, this is so incredibly on crack...I love it!  I have no idea
how useful this is, but there's certainly a coolness factor over it.



Messages sorted by: Reverse Date, Date, Thread, Author