Future and plans for libnet? Why 'all the way with ejs'?

Simo Sorce idra at samba.org
Sat Jul 9 13:20:15 GMT 2005


On Sat, 2005-07-09 at 13:28 +0200, Henrik Nordstrom wrote:

> Would in Perl look like
> 
> /*
>    return information about a user
> */
> sub samrQueryUserInfo($$$)
> {
>          my (conn, user_handle, level) = @_;
>          my io = $irpcObj->new(user_handle => $user_handle, level => $level);
>          status = dcerpc_samr_QueryUserInfo($conn, $io);
>          check_status_ok($status);
>          return $io->output->info->info3;
> }

I find this syntax highly unreadable and  only useful to perl lovers.
The Syntax used in ejs is a lot more readable and clear thus making it
less likely it is misused.

Simo.

-- 
Simo Sorce    -  idra at samba.org
Samba Team    -  http://www.samba.org
Italian Site  -  http://samba.xsec.it


More information about the samba-technical mailing list