January 31, 2004

Now I Remember...

Now I remember what I hate about database programming...all the time you spend writing repetitious code to simply move the data from your program into the database and vis-versa. I know, I know...use an nifty tool like EJBs...but that's part of the point.

This last week I spent 26 hours writing programs in C++ for a solution guide for the MySQL chapter in a new book that will be published. Let me say, what a pain! I think it was fun for about the first few programs, but for the last 7 to 8 got real old, real fast! All I can say was that I missed Java's wonderful string library, database library, and nifty foundational classes. Why do people like C++? Oh yeah, the execution speed...certainly not the speed of development!

Posted by enigma at January 31, 2004 09:20 PM
Comments

> Why do people like C++?

I've come to believe that the problem lies not in the language itself so much as the culture around it. What makes Perl and Java so ridiculously useful? 3rd party libraries: CPAN for Perl, and whereever Java folks get their stuff that I hear so much about.

In C++ you're doing the same steps, but you have to do more of them because few people bother going through the trouble to modularize those tasks. C++ is as capable of facilitating reusable code, but the culture doesn't encourage it.

More recent languages have some conveniences that C++ lacks, but at the root it's a matter of roll-your-own culture.

My brain has started wandering down a trail involving the Internet, sharing, and programming communities and I really don't have time to think about it right now.... Something to ponder during my evening commute, I suppose. :-)

Posted by: Kevin Worcester at February 2, 2004 10:20 AM

Yes...this is an interesting thing to ponder.... I know I would be more inclined to use C++ if there was a good, widely accepted, library of fundamental niceties.

Posted by: Christoph Neumann at February 5, 2004 01:14 PM
Post a comment









Remember personal info?




Type in the security code: