mailing-list to bugs

Derek Martin invalid at pizzashack.org
Wed May 9 01:46:20 UTC 2018


On Tue, May 08, 2018 at 04:54:30PM -0400, Dan Ritter wrote:
> > i am looking for a library to parse email messages.
[...]
> What you want for bugzilla is probably
> 
> https://www.bugzilla.org/docs/3.0/html/api/email_in.html
> 
> and you probably want to work in Perl.

I dare say no one should want to work in Perl anymore...  It's such a
horrible mishmash of a lanugage.  But C is probably not the best tool
for this job either.  Python has modules for handling e-mail and for
talking to bugzilla, and for my money it's way, way nicer to code in
than Perl.

C++, FWIW, has much nicer string manipulation than C, and if you
really want to write it in C you'll probably be better off writing it
in C++ just for that--and write the rest of your code like C.

FWIW it took me a while to warm up to C++ (it's very featureful and
large lexicographically) but it was well worth learning, and now I
think you should not write code in pure C any longer unless you're
writing a kernel or similar where you really need that level of
control over the code that's generated.  I'd really love to see
Mutt-2.0 rewritten in C++ from the ground up... <ducking>

=8^)

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20180508/e0b27782/attachment.asc>


More information about the Mutt-users mailing list