APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > Opinion > C++ or C (or both?)
Printer Friendly Version




C++ or C (or both?)



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.


If this page was useful to you, please click to help others find it:  
Your +1's can help friends, contacts, and others on the web find the best stuff when they search.


1 comment




More Articles by Anthony Lawrence - Find me on Google+



Click here to add your comments





Mon Oct 31 20:23:08 2005:   Dean


It makes sense to me to keep the C version, but as Tony said, I'm a C++ guy... When I started the eMail project I was a full on C guy but realized that more jobs were wanting OO coders and so I went with the trend and I have fully converted myself. I always wanted eMail to be highly portable and easily configurable/compilable with as few dependencies as possible because that always frustrated me back in my early days of learning Linux. I think I have managed to maintain this throughout the project to the best of my personal ability even while making major feature enhancements. Soon, I will be adding SSL support which will break that depencency tenet that I enjoyed so much with this project... So, I figured, why not go ahead and convert the code to one I enjoy coding in much more?

Nevertheless, if the decision is to keep C and say to hell with C++, I will still reorganize the C code to be a bit more OO related.

Thanks everyone for using it and a BIG thanks to Tony for writing a review and pointing people to this small project.

Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar


Kerio Connect Mailserver

Kerio Control Firewall

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide




Buy Kerio from a dealer who knows tech: I sell and support

Kerio Connect Mail server, Control, Workspace and Operator licenses and subscription renewals
pavatar.jpg

This post tagged:

       - Mail
       - Opinion
       - Programming




Unix/Linux Consultants

Skills Tests

Guest Post Here