abbra (abbra) wrote,

The Little Manual of API Design

Рекомендуется к прочтению: тем, кто еще не читал. :)

This manual gathers together the key insights into API design that were discovered through many years of software development on the Qt application development framework at Trolltech (now part of Nokia). When designing and implementing a library, you should also keep other factors in mind, such as efficiency and ease of implementation, in addition to pure API considerations. And although the focus is on public APIs, there is no harm in applying the principles described here when writing application code or internal library code.
[Qt!] Examples from Qt’s history are presented in blocks like this one. If you are new to Qt, you might find some of these examples obscure. Don’t hesitate to ask your colleagues for details. Also, many of the examples come from classes on which I worked, for the simple reason that I know those best. Other classes could have provided just as good examples.
Tags: api, design, floss, qt

  • Бесконечная автоматизация

    Конечные автоматы бывают разные. Есть генераторы исходного кода по схемам-описаниям, есть табличные исполнители, а есть неявные конечные автоматы.…

  • Рычаг

    В комментариях к новостям из России повсеместно сквозит неприязнь к чиновникам и поголовное обвинение во взятничестве и распилах. «Национальная…

  • (no subject)

    Эти столицы всегда такие маленькие и такие близкие, что вечно под ногами путаются. ykaliuta, ты оценишь. :)…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded