[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (work1) now available
- From: Leo Razoumov <slonik.az@...>
- Date: Sun, 14 Jul 2013 18:32:59 -0400
On Sun, Jul 14, 2013 at 10:55 AM, John Hind <john.hind@zen.co.uk> wrote:
> This looks good, but now integers are "official" how about considering
> making my 'powerpatch' for binary constants official too? ( For example
> local x = 0b1001_0001 - support of underscores here is particularly useful
> to break long bitmaps into fields - they're just for documentation and get
> ignored).
+1. I think using underscore '_' in long numbers (binary or otherwise)
can improve readability. IIRC, Ruby allows '_' inside any number and
simply ignores them when converting it to internal representation.
--Leo--