Stewart Stremler wrote:
I suspect you don't have any data-structures-in-C textbooks lying
around.

Oh, I do. I just don't have any who deign to demonstrate that they have actually *tested* their code.

A library without unit tests == a broken library.

And, because unit testing in C is such a PITA, nobody does it.

I used to have a directory full of simple C data structures -- singly-linked list, doubly-linked list, hashtable, binary tree,
etc. -- but I seem to have lost that directory.

Circular buffer is what I was looking for.

I'd forgotten just how low-level C is.  Yuck.

Heh.

I'd rather do C and C++....

No, sorry.  And I'm a *hardware* guy.

I use C because it is often the most appropriate language. Embedded systems have a hard time functioning with anything else. Although, I'm staring at Gambit (Scheme compiled to C) quite hard.

C++. You know what--I can't be bothered anymore. Too much special case syntax. When I pulled out the fifth C++ reference (Effective C++ 1&2, Effective STL, IOStreams, STL tutorial & reference guide), I stopped.

When I need to go get my references to write a simple foreach loop (and figure out how to write functors ... again ...), C++ is losing.

At this point I'd rather do X & C where X is, well, just about anything other than C++. Okay, maybe not Perl, but I'd have to think about that a bit.

-a




--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to