From: Ian Jackson Subject: Re: [PATCH v2-resend 02/30] libxl: idl: allow KeyedUnion members to be empty Date: Tue, 27 Aug 2013 17:27:49 +0100 Message-ID: <21020.54149.781358.442488@mariner.uk.xensource.com> References: <1377168678-25492-1-git-send-email-rob.hoes@citrix.com> <1377168678-25492-3-git-send-email-rob.hoes@citrix.com> <21020.48482.317438.509457@mariner.uk.xensource.com> <1377615417.29147.52.camel@kazak.uk.xensource.com> <21020.48820.301213.447128@mariner.uk.xensource.com> <1377615867.29147.55.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1377615867.29147.55.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Rob Hoes , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH v2-resend 02/30] libxl: idl: allow KeyedUnion members to be empty"): > On Tue, 2013-08-27 at 15:59 +0100, Ian Jackson wrote: > > You are introducing skankiness not in the IDL compiler, but in the IDL > > itself. I think it is better to have skankiness in some particular > > language's output than in the IDL input. > > I think: > - ("invalid", Struct(None, [])), > + ("invalid", None), > > is reducing the amount of skank in the IDL, None has a good match with > "nothing here", while "Strict(None, [])" is just random placeholder goo, > which would be even worse if we were to artificially add a member Well, I think we should keep the number of primitive types down to the minimum possible. But I think this discussion has gone on long enough and it's not that important: Acked-by: Ian Jackson Ian.