On 06/14/2017 07:05 PM, Donal K. Fellows wrote:
> • TIP #472: Add Support for 0d Radix Prefix to Integer Literals> Link: http://www.tcl.tk/cgi-bin/tct/tip/473.html> Implementation branch: bsg-0d-radix-prefix> Target: 8.6
TIP 472 for 8.6.7: NO
New features belong in alpha branches absent compelling need,
or total lack of an alpha branch where it can go. Neither applies.
Besides the general rule, there's evident uncertainty about
whether %#d behavior is the best choice to make, and release
in 8.6.7 locks one choice in place. Better to release in alpha
and gather evidence from at least alpha testers whether there's
trouble or better options, with ability to change if needed.
The recognition of 0d123 as integer is also not as incidental as
people seem to believe. It will change the dataflow of code
like:
if {[string is integer $val]} {...} else {...}
I think most uses will see the change as harmless, but I also
know I'm not as creative as the entire universe of Tcl coders
out there. Again an alpha period to discover trouble is what
we should do.
TIP 472 for 8.7 (bsg-0d-radix-prefix): PRESENT
Nothing so bad as to oppose, if this is exactly what some
audience wants, but not something I really love either.
TIP 472 for 8.7 (jn-0d-radix-prefix): YES
What shifts my opinion is that Jan's refinement at long
last gives a principled purpose to the %# formats, one
that can be clearly documented as something other than
"something close to what C's printf does, usually". It
even creates a reason why "0" gets treated differently. In
this functional reform, the need for a "0d" grows out of
providing the %#0d functionality, and the disappearance of it
is baked into the disappearance of the need, assuming
a Tcl 9 with TIP 114 in it. A really nice piece of
migration support.
-- | Don Porter Applied and Computational Mathematics Division |
| dona...@nist.gov Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Tcl-Core mailing list
Tcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcl-core