Tugger the SLUGger!SLUG Mailing List Archives

RE: [coders] Well designed C++ API?


Jamie Wilkinson wrote:
> I first thought of this list when Erik started the thread:
> 
> http://sourcefrog.net/weblog/software/aesthetics/interface-levels.html

Great list.  I'd break down points 1 and 5 further:

1a. Compiler/linker won't let you get it wrong - and will flag the exact
line where you got it wrong.
1b. Compiler/linker won't let you get it wrong - and will flag some line of
code, but not the exact line where you got it wrong.

5a. Do it right or it will break at runtime - by raising an error at the
exact line where you got it wrong.
5b. Do it right or it will break at runtime - by raising an error somewhere,
but not the exact line where you got it wrong.


Adelle.