Re: [Nbd] [PATCH] Document format of strings in one place, limit to 4096 bytes
- To: Alex Bligh <alex@...872...>
- Cc: "nbd-general@lists.sourceforge.net" <nbd-general@lists.sourceforge.net>
- Subject: Re: [Nbd] [PATCH] Document format of strings in one place, limit to 4096 bytes
- From: Wouter Verhelst <w@...112...>
- Date: Wed, 6 Apr 2016 23:51:41 +0200
- Message-id: <20160406215141.GA30733@...3...>
- In-reply-to: <6E81BFD5-9B71-4FE0-A7B9-29CBA5503154@...872...>
- References: <1459969564-45172-1-git-send-email-alex@...872...> <20160406202738.GE22415@...3...> <6E81BFD5-9B71-4FE0-A7B9-29CBA5503154@...872...>
On Wed, Apr 06, 2016 at 10:19:21PM +0100, Alex Bligh wrote:
> On 6 Apr 2016, at 21:27, Wouter Verhelst <w@...112...> wrote:
> > Also, most of those strings exist solely to make user interaction
> > easier. In that context, a 4K string is *way* too long; I'm thinking
> > something like 256 seems saner (80 characters, times three because
> > UTF-8, round up to the next power of two).
>
> I agree it's way too long (partly for the above reason). I'm happy
> to go with 256, but it's conceivable we might want to reconsider
> if it's a 'MUST'.
We could do SHOULD for 256 and MUST for 4K; I'd be okay with that (4K is
ridiculously large enough that it shouldn't happen in practice, anyway)
--
< 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: