| Store | Cart

[TCLCORE] TIP 472 Votes

From: Donald G Porter <dona...@nist.gov>
Fri, 16 Jun 2017 10:04:04 -0400
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
Recent Messages in this Thread
Donal K. Fellows Jun 10, 2017 02:35 pm
Donal K. Fellows Jun 11, 2017 09:22 pm
Donal K. Fellows Jun 14, 2017 11:05 pm
Alexandre Ferrieux Jun 15, 2017 05:46 am
Harald Oehlmann Jun 15, 2017 06:44 am
Jan Nijtmans Jun 15, 2017 08:07 am
Brian Griffin Jun 15, 2017 01:48 pm
ste...@digitalsmarties.com Jun 15, 2017 08:52 am
Brian Griffin Jun 15, 2017 01:54 pm
Kevin Kenny Jun 16, 2017 03:37 am
Donald G Porter Jun 16, 2017 01:38 pm
Donal K. Fellows Jun 18, 2017 06:57 am
Mark Janssen Jun 18, 2017 08:29 am
Donald G Porter Jun 16, 2017 02:04 pm
Donal K. Fellows Jun 20, 2017 07:15 am
Jan Nijtmans Jun 21, 2017 09:32 am
Jos Decoster Jun 18, 2017 09:48 am
Donald G Porter Jun 22, 2017 01:09 pm
Donald G Porter Jun 22, 2017 01:25 pm
Donal K. Fellows Jun 22, 2017 06:24 pm
Donal K. Fellows Jun 22, 2017 02:25 pm
Donal K. Fellows Jun 22, 2017 06:26 pm
Donal K. Fellows Jun 22, 2017 06:28 pm
Donald G Porter Jun 22, 2017 07:43 pm
Jan Nijtmans Jun 23, 2017 08:50 am
Brian Griffin Jun 23, 2017 02:08 pm
Jan Nijtmans Jun 23, 2017 03:08 pm
Brian Griffin Jun 23, 2017 03:12 pm
Donald G Porter Jun 23, 2017 07:44 pm
Donal K. Fellows Jun 24, 2017 01:53 pm
Messages in this thread