Don't Overlook Efficient C/C++ Cmd Line Processing
An anonymous reader writes "Command-line processing is historically one of the most ignored areas in software development. Just about any relatively complicated software has dozens of available command-line options. The GNU tool gperf is a "perfect" hash function that, for a given set of user-provided strings, generates C/C++ code for a hash table, a hash function, and a lookup function. This article provides a reference for a good discussion on how to use gperf for effective command-line processing in your C/C++ code."
O.k., I get C++. It's still viable, but C? Since I moved to C++ way, way, way back when, I haven't had much use for C, hell, I've even moved away from C++. So, I haven't tracked projects or systems that still use C. Aside from those still doing C on ATMELS and PIC, who is using it?
Politics is the art of looking for trouble, finding it everywhere, diagnosing it incorrectly and applying the wrong fix.