3 ms·
Not a book, but Trolltech (makers of Qt) has nice recommendations for API design: http://doc.trolltech.com/qq/qq13-apis.html http://doc.trolltech.com/qq/qq13-a
by bd 16y ago
Not a book, but Trolltech (makers of Qt) has nice recommendations for API design:
http://doc.trolltech.com/qq/qq13-apis.html http://doc.trolltech.com/qq/qq13-apis.html
- arethuza 16y agoThat's an excellent resource - I particularly like how they use examples from early versions of their own APIs of what not to do.
- icefox 16y agoA few years after that article came out Jasmine (from Trolltech) and several other devs put together a fantastic free pdf/book that I highly recommended. "The Little Manual of API Design": http://chaos.troll.no/~shausman/api-design/api-design.pdf http://chaos.troll.no/~shausman/api-design/api-design.pdf