From: <apn...@ya...> - 2024-06-05 17:00:55
|
Hey, I thought I was generous, not greedy, allowing 2 billion code values for extensions 😊 Jokes aside, I think your comments are similar to @mjanssen’s chat I posted earlier. How about this then, allocate all return codes in the range 0x100 (256) : 0x3FFFFFFF to extensions. All others, including negative values belong to Tcl. Would that be acceptable to all? /Ashok From: Donald Arseneau <as...@tr...> Sent: Wednesday, June 5, 2024 10:22 AM To: tcl...@li... Subject: Re: [TCLCORE] CFV: TIP #696 Sounds fine in principle. But OUCH that is so greedy! Reserving over 2 billion code values as potentially defined by the language, and condemning programmers to use 10-digit private code values in their programs. I was expecting increasing the defined number from 5 to 16 or 32, but surely no more than 99. If you want to prepare for a future need to dynamically create millions of return codes, how about reserving the BIG numbers for Tcl itself, along with a very small set of numbers near zero? --Donald |