- To: "'Jamie Wilkinson'" <jaq@xxxxxxxxxxxxxx>, <coders@xxxxxxxxxxx>
- Subject: RE: [coders] Well designed C++ API?
- From: "Adelle Hartley" <adelle@xxxxxxxxxxxxx>
- Date: Thu, 12 Oct 2006 13:33:07 +1000
- Thread-index: Acbtm4ACyh1DbpVVRsKOLz2y/E8n3gAExLXw
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.