REBOL3 tracker
  0.9.12 beta
Ticket #0001819 User: anonymous

Project:



rss
TypeWish Statustested Date12-Jan-2011 00:04
Versionalpha 110 CategoryUnspecified Submitted byBrianH
PlatformAll Severityminor Prioritynormal

Summary Add BOUND? as an additional name for BIND?
Description BIND? returns the binding of a word (an intrinsic property), or TRUE for words bound to function contexts, or none if there is no such binding; it both returns a property and is used in conditional contexts. When a function like this is used conditionally, it is good style to use the adjective? naming convention, and the adjectival form of "bind" is "bound". A function that returns an intrinsic property like this is better written using the noun-of convention, and the noun form of "bind" is "binding".

This makes BOUND? and BINDING-OF both better names for BIND?, though we would also need to keep the BIND? name both because of the legacy naming rule, and because it's more easily relateable to BIND by people searching help without using English word variants.

These additional names would be for friendliness and convenience, so would not necessarily need to be in the sys context.
Example code

			

Assigned ton/a Fixed inalpha 111 Last Update26-Feb-2011 01:14


Comments
(0003018)
Ladislav
14-Jan-2011 14:29

Seeing the reasons, but *two* alternatives?
(0003021)
BrianH
14-Jan-2011 21:20

Two suggestions that are both better than the current one. We don't have to accept both, or either for that matter (that's what and/or meant). Perhaps most of these sensible renamings of legacy functions should go into optional modules, especially since we can't get rid of the old names because of the legacy naming rules, we can only add names.
(0003025)
abolka
16-Jan-2011 23:32

Note that in R2, BOUND? still exists as alias for BIND?.
(0003059)
Carl
30-Jan-2011 22:12

BOUND? is now the official function name. (BIND? is still supported.)

Date User Field Action Change
26-Feb-2011 01:14 BrianH Summary Modified Add BOUND? and/or BINDING-OF as additional names for BIND? => Add BOUND? as an additional name for BIND?
26-Feb-2011 01:14 BrianH Status Modified built => tested
30-Jan-2011 22:17 carl Comment : 0003059 Modified -
30-Jan-2011 22:12 carl Fixedin Modified => alpha 111
30-Jan-2011 22:12 carl Status Modified reviewed => built
30-Jan-2011 22:12 carl Comment : 0003059 Added -
17-Jan-2011 04:21 carl Description Modified -
17-Jan-2011 04:21 carl Status Modified submitted => reviewed
16-Jan-2011 23:32 abolka Comment : 0003025 Added -
14-Jan-2011 21:20 BrianH Comment : 0003021 Added -
14-Jan-2011 14:29 Ladislav Comment : 0003018 Added -
12-Jan-2011 00:04 BrianH Ticket Added -