C++ or C (or both?)

    November 7, 2005

Some of you may have made use of Dean Jones’ CleanCode Email. It’s a nicely done mail sender – it’s not an SMTP server, it just sends mail, but lets you specify the gateway or smart host to use, which makes it wonderful for systems that don’t need to receive mail.

It’s also great for systems with broken Sendmail that you don’t have time to fix, for debugging, etc. Nice little piece of code, I recommend it frequently.

If you check Dean’s site now, you’ll see that he’s asking for advice about switching the code to C++. There are features he’d like to add, and C++ is his preferred language.

Not so many years ago, I would have said “Don’t do that”, just because having a working C++ compiler wasn’t a given. But nowadays, you’d be surprised if any system with a dev kit didn’t have C++ installed, so I say “sure, why not”. But.. I still think he should make the old code available “just in case” – in case there’s somebody with an old clunker that needs this. Don’t keep it up to date, just leave it on the download page as an option.

What do you think? Don’t tell me, click on over to Dean’s site and tell him.

By the way – if you DO use CleanCode: kick in a little donation. This is good code that deserves your support.

*Originally published at APLawrence.com

A.P. Lawrence provides SCO Unix and Linux consulting services http://www.pcunix.com