On 01 Jul 2011, at 15:52, Janko Mivšek wrote:

> I'd just introduce yet that ZnResponse ok: 'Hello world'. To cover the
> most common response body and this will be really easy to grasp for
> newcomers. Nothing specially to learn upfront, just that simple two
> lines with seamless way to respond with some text.
> 
> This complicate a bit Zinc internals, but the gain on simplicity on API
> level is IMHO worth that.

I saw your code, and I considered it, but it feels too much out of place (the 
implementation that is), architecturally wrong and not that usefull. Although 
ZnResponse ok: (ZnEntity text: 'Hello World!') is longer it is also more 
intention revealing, it tells you something about HTTP without being too 
verbose.

These are opinions and aesthetics, of course.

Sven


Reply via email to