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

Re: [Nbd] [RFC PATCH] doc: In STRUCTURED_REPLY, make error types easy to recognize



On Sat, Apr 09, 2016 at 12:22:09PM +0100, Alex Bligh wrote:
> 
> On 9 Apr 2016, at 11:44, Wouter Verhelst <w@...112...> wrote:
> 
> > It's always easier to add new data at the end rather than in the middle.
> > With the former, you can just use a struct to read data off the wire,
> > and it won't change because someone changed the message. With the
> > latter, that isn't the case.
> 
> +1, though ...
> 
> > (this is also pretty much how ASN.1 works, IIUC)
> 
> .... IMHO ASN.1 is a design anti-pattern.

Don't disagree with that, but DER *is* fairly robust :-)

-- 
< ron> I mean, the main *practical* problem with C++, is there's like a dozen
       people in the world who think they really understand all of its rules,
       and pretty much all of them are just lying to themselves too.
 -- #debian-devel, OFTC, 2016-02-12



Reply to: