[zeromq-dev] Devices and config files

Pieter Hintjens ph at imatix.com
Tue Aug 24 14:30:26 CEST 2010


On Tue, Aug 24, 2010 at 2:23 PM, gonzalo diethelm <gdiethelm at dcv.cl> wrote:

> That looks nice. I have never been too inclined to indentation-based
> syntax, but it is very readable.

That's the goal, really.  We always indent hierarchies for readability
anyhow.  Might as well use that the other way around.

> Yes, but I wouldn't discount this need, at least not without getting
> more feedback. And keep in mind the API explicitly declares the topics
> to be binary strings.

I'd not discount anything, but I'd not solve use cases we don't actually have.

> Please, not XML unless strictly necessary. We might even opt for
> S-expressions (Lisp syntax), they have the same expressive power but are
> a lot more readable (to me at least).

OK, thanks for that.  I don't dislike XML as such but for this kind of
thing, every single extra character the user needs to type is a cause
for error.  A config file should be editable at 6am, tired, with as
close as possible to zero risk of error.  Let me add this to the ZPL
goals.

-Pieter






-- 
-
Pieter Hintjens
iMatix - www.imatix.com



More information about the zeromq-dev mailing list