News for hackers. Stuff that matters.
Re:Your API Sucks: Why Developers Hang Up and How to Stop That by Groxx on Thursday January 20, 2011 @11:01PM (#2126411)
I tend to achieve that by making a few layers of access. I try really hard to make every chunk of re-usable code I write work with as few arguments as possible in the most common uses. Usually, this means one or two at most.

There are cases where HTTPEntityEnclosingRequest objects could be useful to be able to declare... but most of the time you just want port.listen(delegate). I boggle at how few systems have easy-use methods along those lines, and how so many things return 'void' instead of 'this'.

There are no comments on this comment yet.