qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] schemas: Add vim modeline


From: Daniel P . Berrangé
Subject: Re: [PATCH] schemas: Add vim modeline
Date: Fri, 31 Jul 2020 10:32:51 +0100
User-agent: Mutt/1.14.5 (2020-06-23)

On Fri, Jul 31, 2020 at 11:21:35AM +0200, Markus Armbruster wrote:
> John Snow <jsnow@redhat.com> writes:
> 
> > On 7/30/20 9:24 AM, Daniel P. Berrangé wrote:
> >>> Some of the criticism there doesn't matter for our use case.
> >>
> >> Yeah, what matters is whether it can do the job we need in a way that is
> >> better than what we have today, and whether there are any further options
> >> to consider that might be viable alternatives.
> 
> The sheer complexity of YAML puts me off.  The spec exceeds 20k words.

Just because complexity exists doesn't mean it has any negative impact
on us as users. A large spec is a concern if writing a parser, but we'd
be using an off the shelf parser so not a concern. Or if you're trying
to do obscure stuff that pushes the boundaries of what YAML can do in
terms of data representation, but QAPI schema needs are really trivial
so won't ever hit anything complex unless we actively went looking for
it. In all the times I've used YAML I can't say "complexity" has been
a word that ever came to mind, quite the opposite, it felt simple.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]