[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plugin Interface: xchat_list API
> If you want to include your Java and Python plugins into the main dist, I
> think they should be standardized. That is, they should have pretty much the
> same API as the C-plugin interface. I don't want to make the same mistake
> as 1.x.x where C/perl/python were all totally different. So, about the
> xchat_list API, can't they be provided directly? E.g. in Java you could do
> something like:
[...]
I'm not going to say too much about this, since Alex has said it very
well. High level interfaces exist exactly to simplify coding tasks.
It's always easier to understand how some API works if it's similar to
what you have seen and used in the language. Mimicking the C interface
will make it unconfortable for those working with the language. To make
it clear, high level languages wouldn't exist if they have mimicked what
is known about C.
Copying Alex as well, I have no interest in working in the python plugin
development if that's the methodology to be adopted. I wouldn't be proud
to be developing such beast.
--
Gustavo Niemeyer
[ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]
--
XChat-discuss: mailing list for XChat users
Archive: http://mail.nl.linux.org/xchat-discuss/