[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 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.

-- 
Alex Bligh







Reply to: