tags:

views:

75

answers:

1

Possible Duplicate:
Is there a readable implementation of the STL?

I've been trying to grok the source of the STL and frankly after looking at multiple implementations, I'm left shaking my head. The sheer verbosity of the code is breathtaking. No, not the complexity of the concepts, I mean the way it was implemented, the layers of macros that I suppose are there to deal with platform issues, and the spacing, line breaks, and just total lack of comments. Are there any good implementations that are readable?

A: 

There are several implantations of the stl but the STL is very generic and is used by thousands of client programs. Small programs written to solve small problems are often succinct and easy to read any sufficient generic code that runs in the real world is not trivial to read.

rerun