|
From: | Peter O'Gorman |
Subject: | Re: rewrite of ltdl and c++ (was: Re: [RFC] [PATCH] libltdl error reporting) |
Date: | Thu, 10 Jun 2010 10:12:41 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Thunderbird/3.0.4 |
On 06/10/2010 09:45 AM, Gary V. Vaughan wrote:
I think it would be better in c++.No, that would mean you have to jump through hoops to use it from C. And it would make me cry myself to sleep at night. I avoid C++, Perl, McDonalds and suicide bomber recruiters as much as I possibly can. I'm still undecided as to which one is worst for your health...
It's simple to write a library in C++ but make its public interface C. There are many projects that use what I would describe as sane C++ (unfortunately there are also many that use every possible feature).
IMO, setjmp/longjmp is significantly uglier. But, let's end this debate, it's unlikely to lead to anything productive :) Peter
[Prev in Thread] | Current Thread | [Next in Thread] |