Re:Why you absolutely MUST write an API when you write your ...
by hsmyers on Monday November 22, 2010 @05:44PM
(#1931593)
The best way to create an API that feels like their creators never used them is to build one that you would use yourself. If you want to build one that others can use and use easily then you need to put yourself in their shoes, not your own. Otherwise it's just one more library built on some one else's idea of a good time. That said if absolutely no one else is ever going to see, let alone use this API, then certainly build what works for you... just remember the maxim of writing as though the person/maintainer after you is a psychopath who knows where you live.
[ Parent
| on HN ]