Some Thoughts about Library Design

Warning! Some information on this page is older than 3 years now. I keep it for reference, but it probably doesn't reflect my current knowledge and beliefs.

19:58
Sun
16
May 2010

Some Thoughts about Library Design

Much has been said about designing good user interface, whether for desktop applications, websites or games. There are whole books available about GUI design and even this year's IGK-7'2010 conference featured two lectures about the interface in games. But what about interfaces for programmers?

I can't find much about the rules of good library API design and I believe there is much to say in this subject. I only know The Little Manual of API Design written by Jasmin Blanchette from Trolltech/Nokia, one of the creators of Qt library (thanks for the link Przemek!). There is also a blog entry about Math Library, which is quite interesting. Inspired by it, I've came up with a general thought that you cannot have all the following features when designing a library and its API, you have to choose 2 or 3 of them and make some compromise:

I think some patterns and best practices as well as some anti-patterns could be found when you look at interfaces of many libraries. Maybe I'll post some more of my thoughts on this subject in the future. In the meantime, do you know any other resources about API design?

Comments (1) | Tags: philosophy software engineering libraries | Author: Adam Sawicki | Share

Comments

wty123
2016-03-29 08:56:06
my www.michaelkors-uk.org.uk first www.burberryoutlet-sale.in.net time to www.cheap-oakleyglasses.us.com Shanghai, www.horloges-rolex.nl to help www.coco-chanel.com.de me www.oakley--sunglasses.com.au find www.pandora-charms.org.uk a dozen www.converse.net.co dollars www.longchamp.com.de hostel, www.michaelkorsoutletonline-sale.us.com please?"So, www.polo-ralph-lauren.de to www.christianlouboutin.org.uk accompany www.asicsgels.de her to www.polos-ralphlauren.us.com find www.christianlouboutinoutlet.net.co hostels. At www.the-north-face.ca 7:00 www.toryburch-sandals.in.net pm www.chi-flatiron.us.com was www.bottegaveneta-bagsoutlet.com staying www.thomas-sabo.com.de in www.converse.com.de a www.oakleysunglasses-cheap.in.net cheap www.toms-shoesoutlet.net hostel but also www.ralphs-lauren.co.uk 40 yuan www.ralphlaurenoutletonline.in.net a www.abercrombie-and-fitch.us.com night. www.harrods-london.co.uk I www.lululemonoutlet.gb.net want www.scarpe-hoganoutlets.it to www.tommy-hilfiger-canada.ca leave, www.burberry-handbags2016.in.net she www.insanity-workout.us.com let go, www.toms-shoes.net.co her www.tiffany-und-co.de eyes www.hermesbirkin-bag.net riveted www.uggboots.com.de on www.beatsbydre.com.co me, repeated www.northfaceoutlet.com.co the phrase: www.tiffanyand-co.net.co "? www.michael-kors.com.co I www.bcbg-dresses.com first came airmax.shoesoutlet.us.com to www.polooutlets-store.com Shanghai, www.longchampoutlet.com.co you www.cheapoakley-sunglasses.in.net spend www.airjordans.us time www.beatsbydrdre.co.com with www.michaelkors.so me, www.thejoreseproject.com please" www.mkoutletonline.us.com like www.basketballshoes.com.co to www.mcm-bags.in.net see www.coachblackfriday.com her, www.nikefactory.org I www.michael-kors.net.co could www.wedding--dresses.ca not www.michaelkors.com.se help www.christianlouboutinshoes.jp.net students www.nike-shoes-canada.ca from www.adidas--canada.ca compassion www.cheapuggboots.us.com heart www.fashionclothes.us.com of. I www.tommy-hilfiger.com.de inserted www.michael-korshandbags.org.uk through www.babyliss-pro.us.com the www.gucci-taschen-outlet.de team in Jiangxi www.raybans-sunglassesoutlet.in.net Province. Twenty www.cheapoakley-sunglasses.com years www.vans-shoes.co.uk of www.swarovski-australia.com.au joint swelling and pain www.barbour-factory.com can not www.longchamps.us.com walk, www.michaelkorsbags.us.org the www.nike-skor.com.se production team with www.airmax-90.org a www.air-huarache.co.uk dray www.burberryonlineshop.de uncle sent www.coach-factory.in.net me www.omegarelojes.es to commune www.mcmhandbags.com.co health www.ferragamoshoes.in.net centers www.christianlouboutinshoesoutlet.org for treatment. www.pradaoutlet.com.co Now www.toms-shoes.com.co the little girl www.tommyhilfigeroutlet.in.net and I was www.juicycoutureoutlet.net.co not www.jimmy-choos.com also www.airmax-2015.org the case www.mk-outlet.us.com with www.cheapmichaelkors.us.org what? www.pumaonline-shop.de A www.coachoutletstore.net.co single www.michael-kors-canada-outlet.ca person, www.michaelkorsoutlet.ar.com in www.burberry-outlet.net.co need www.louboutin.jp.net of www.nikeair-max.es help, www.bottega-veneta.us.com I can not www.soccer-shoes.us.com ask www.edhardy.us.org her? I went www.ralphlaurenepolo.com to www.gucci-outletstore.com apply for a www.uggs.co.nl stay formalities, www.beats-by-dre.com.co she www.coco-chanels.us.com lives www.adidas-schuhe-online.de upstairs, www.burberrybags-outlet.com I www.converse-shoesoutlet.com live downstairs. I www.celine-bags.org went www.truereligion-outlet.us.org to www.ferragamo.com.co the www.burberry2016.co.uk supermarket www.pradahandbags.net.co to www.tnf-jackets.us.com buy www.zxcoachoutlet.com two www.nikestore.us sets of www.marcjacobs.us.com towels, www.tiffany-andco.us.com toothbrush, www.ralphslauren-outlet.co.uk toothpaste, www.cheapjerseys.us.org they www.burberrys-outlet2016.com have www.coach-factoryyoutletonline.net to www.weddingdressesuk.org.uk spend www.adidas.org.es to www.ray--ban.ca stay.After www.uggsoutlet.com.co dinner, www.soft-ballbats.com I www.adidasshoes.top go www.jimmy-chooshoes.com with www.nike-air-max.us her www.nike-air-max.ca to www.bcbg-max-azria.ca the www.ghd-hairstraightener.net supermarket www.raybans.us.org plaza. www.newbalance.com.es The www.coach-outletonline.net.co first www.nike-rosherun.nl time I www.cheap-raybans.com saw so www.ghdhair-straighteners.co.uk many customers, bustling www.the-northface.net.co crowd, www.oakley-sunglasses.mex.com her www.handbagsoutlet.net.co age www.louisvuitton-outlet.com.co girl www.designerhandbagsoutlet.net.co wearing Western www.nikeair--max.fr style fashion, she www.new-balance-schuhe.de was www.coachoutlet-online.com.co very envious. www.longchamphandbagsoutlet.net The www.ralphlaurenoutlet-online.us.com first www.abercrombie-fitchs.us.com elevator www.nikefree5.net ride www.true-religion.com.co elevators www.prada-shoes.com.co and www.nikeskos.dk stairs www.michael-kors-australia.com.au room, www.toryburchoutlet-sale.us.com gesticulating www.oakleys-glasses.us.com see www.hermes-outlet.com.co so www.yoga-pants.net.co many www.eyeglassframes.in.net people standing airmax.misblackfriday.com looking www.louis--vuitton.org.uk at www.uggboots.net.co her www.ralph-laurens.org.uk surprised. www.ray-bansunglasses.net First www.adidas.com.se sat on www.oakleysunglass-outlet.net a www.hollister-clothing.in.net long www.toryburchsale.com.co bench www.replicarolex-watches.us.com enjoying www.tory-burchshoesoutlet.net central www.iphone-cases.net.co air www.nike.org.es conditioning www.ray-banocchiali.it blowing cool www.thenorthface.com.de breezes, www.airhuarache.co.uk her www.michael--kors.us.com temperament is www.bebeclothing.in.net particularly www.eyeglassesonline.us.com comfortable. She www.rayban.co.nl opened www.replica-handbags.net.co the www.coach-factoryoutlet.net.co door www.tiffanyandco-canada.ca panel www.ugg-boots.ca of www.swarovskijewelry.com.co the www.michael-kors-taschen.com.de soul, to www.tommy-hilfiger.co.nl tell me her www.giuseppezanotti.com.co story. www.tommyhilfiger.net.co Her www.rayban-wayfarer.in.net surname situation, 24 www.outlet-burberry.net.co years www.rolexwatches-canada.ca old www.lauren-ralph.co.uk this www.thenorth-faces.co.uk year, www.barbour-jacketsoutlet.com who www.rolex-watches.us.com lives in www.nfl-jersey.us.com Jiangxi Nanshan www.chanelhandbags.net.in District, poor www.montblanc--pens.in.net economic www.designer-handbagsoutlet.us.com conditions www.nike-free-run.de at www.salvatoreferragamo.in.net home, www.reebok.com.de and www.thomas-sabos.org.uk nothing good www.burberryoutlet-canada.ca local www.tommy-hilfiger-online-shop.de place www.guccishoes-uk.co.uk to www.longchamp-bags.us.com make www.katespadeoutlet.gb.net moneI www.truereligionjeans.net.co heard www.jordanrelease-dates.us.com that www.nike-air-max.com.se Shanghai life www.newoutletonlinemall.com is www.rayban-sunglasses.us.org better, www.instylers.us.com earn www.coachhandbags2016.us.com more, she charmed www.louisvuitton-outlets.us one www.nike--freerun.co.uk day to see. www.uggs-onsale.net The village www.ralphlaurenonlineshop.de has www.converse-shoes.net seen young www.ugg-boots-australia.com.au men and www.polo-outlets.com.co women www.valentino-shoesoutlet.us.com to www.nikeshoesoutlet.org.uk go www.nike-tnrequinpascher.fr to www.tomsoutletonline.net Guangzhou, www.michaelkors-outlet-online.com.co Shanghai www.oakley.com.de to www.mcmsworldwide.com work, www.pandora.com.de she www.levisjeans.com.co echocardiography. www.nike-schuhe.com.de But www.longchamp.com.co mother www.newbalance-shoes.org does not agree, www.adidas-superstar.de do www.canadagooses-2016.com not www.tomsshoes-outlet.us.com trust www.nikestore.com.de her www.omega-watches.us.com to www.vans-shoes.net go www.oakleyoutlet.ar.com out www.oakley-outletstore.in.net alone. That www.maccosmetics.net.co day, www.burberry-outletstore.net she www.abercrombie-fitchsale.com and her www.guccioutlet-sale.in.net mother www.abercrombie-kids.us.com had www.marc-jacobs.us.com a www.mizuno-running.net big www.hollisterclothingstore.org fight. www.louisvuittons.com.co At www.louisvuitton.jp.net night, www.uhren-shop.com.de while sleeping www.ralph-laurenoutlet.ca parents www.toms--outlet.com.co left home www.rayban.org.es alone, www.ralphlauren-polos.co.uk by www.nike-airmaxinc.co.uk car, by www.cheap-michaelkors.com train, they www.toms-outlets.us.com go www.canada-goosesjackets.us.com to www.nikefree-run.net work in www.uggsaustralia.com.co Shanghai airhuarache.shoesoutlet.us.com Pudong www.oakleyoutlet-online.us.com cousin. In www.hogan.com.de Shanghai, www.cheapshoes.com.co because www.oakley-sunglasses-canada.ca the www.the-northfacejackets.us.com address www.nike-air-max.com.de does www.cheap-nike-shoes.net not www.beats-headphone.com.co have to www.pulseras-pandora.com.es call home www.mmoncler-outlet.com to www.christian--louboutin.in.net ask, www.louis-vuittonblackfriday.com he said, can www.burberryoutlet2016.us.com not www.nike-schoenen.co.nl find www.cheaprayban.com.co the www.moncler-outlet.us.org address www.the-northface.com.co of www.tiffany-andco.com.au the first www.jordanretro.org to come back, www.tomsoutlet-online.com her www.hollisters-canada.ca mother www.gucci-shoes.net fell www.swarovskicanada.ca ill www.ugg-uggboots.net in www.hollister-abercrombie.com.se bed, www.burberry-handbagsoutlet.com.co so he www.uggs.in.net had nike.shoesoutlet.us.com to www.nike-roshe-run.de return. www.ray-ban-outlet.us.com In the www.replica-watches.com.co road www.pandorajewellery.com.au to the www.michael-kors-outlet-online.us.org train station, a www.hollister.us.org brother www.guccishoes.in.net lie www.rolex-watch.me.uk to www.chanel-bags.com.co her www.nike-huarache.nl on www.tiffany-jewelry.net the bus, turn a long www.michaelkorsoutlet-online.ar.com time www.longchamp-handbagsoutlet.us.com to www.oakley.org.es ask for www.rolexwatchesforsale.us.com 100 dollars. www.hollisteronlineshop.com.de In www.poloralphlaurenoutlet.net.co the car, www.christian-louboutinshoes.com.co but also www.louisvuitton.so hands www.new-balance.ca and feet, www.maccosmetics.gr.com touched her breasts. www.ugg-boots.us.org She www.oakleys-sunglasses.us.com was www.swarovski-online-shop.de afraid. www.salomon-schuhe.com.de Later www.nike-air-force.de I www.nikerosherun.us met, I www.lululemoncanada.ca feel like www.p90xworkout.us.com her cousin, www.michaeljordan.com.de honest, www.hermesbags.jp.net caring, www.truereligion-outlet.com.co considerate. www.pandorajewelry.top Come here and www.abercrombieand-fitch.ca opened www.cheap-jordans.net the www.louis-vuitton-taschen.com.de eyes, www.prada.com.de I www.nike-roshe-run.com.es feel very happy. www.tommy-hilfigeroutlet.com I www.nikefree-run.org.uk said, www.mcmbags.net you www.rayban-sunglassesoutlet.co.uk yearn www.michael-kors-outlet.us.org for www.abercrombie-hollister.nl Fu-life www.soccer-shoesoutlet.com is www.louis-vuitton-australia.com.au right. www.ugg-bootsclearance.com Now www.montres-pascher.fr your www.ralphlaurenoutlet.us.com mother www.newbalance-outlet.org sick, www.mcm-handbags.org certainly www.pandora-charms-canada.ca you do www.michaelkors.co.nl not worry. www.nike-maxfr.com You can go www.retro-jordans.com home www.chiflatiron.net.co and talk www.air-max.com.de to www.adidas-superstar.nl my www.louis-vuittonoutletcanada.ca mother, www.lululemon-australia.com.au reassured www.swarovski--uk.me.uk her, www.juicycouture.com.co and www.burberrys-outlet.co.uk then www.nike-air-max.com.au you come www.giuseppe-zanotti.net to Shanghai. www.timberlandbootsoutlet.us.com A www.ralphlauren-polos.com.co girl www.christian-louboutin-shoes.ca is not easy www.guccishoes.com.co to www.ugg-australia.com.de Shanghai www.timberlands-paschere.fr to work, www.tocoachoutlet.com to www.michael-kors.com.es learn www.prada-handbags.com.co skills, www.yoga-pants.ca to supra.shoesoutlet.us.com adapt uggaustralia.misblackfriday.com to www.guccihandbags.net.co the www.pumashoes.in.net urban www.calvin-kleins.us.com environment as www.ralphlaurenpolos.in.net soon www.supra-shoes.org as www.cheapjerseys.com.co possible, but www.coach-purseoutlet.net also www.kate-spade.gb.net pay www.ralph-lauren.com.au attention www.ralphlaurenoutletonline.us.org to www.woolrich-clearance.com protect www.swarovski-crystal.us.com themselves. As www.thenorthfacejackets.net.co long as www.nike-shoesoutlet.us.com they work www.rosherun.org.uk hard, www.jordan-shoes.com.co work www.vans-schuhe.com.de hard, you www.rayban.com.de will www.nikemercurial.in.net succeed.Back www.michael-kors-handbags.us.com to www.asics-outlet.us.com Hostel www.burberry-outletonlinesale.in.net has 10 www.rosheruns.us points. www.timberlandshoes.net.co In www.coachoutletstore-online.com.co her www.cheap-baseballbats.net room,

www.kate-spade.in.net

Post comment

Nick *
Your name or nickname
E-mail
Your contact information (optional, will not be shown)
Text *
Content of your comment
Calculate *
(* - required field)
STAT NO AD [Stat] [Admin] [STAT NO AD] [pub] [Mirror] Copyright © 2004-2017 Adam Sawicki
Copyright © 2004-2017 Adam Sawicki