Am 07.04.2020 um 15:47 schrieb Riccardo (Jack) Lucchetti:
On Tue, 7 Apr 2020, Allin Cottrell wrote:
> On Tue, 7 Apr 2020, Sven Schreiber wrote:
>> Hi, if nobody objects (or has any other feedback) I would eventually go
>> ahead with adding these trivial functions to the extra addon.
> I'm not averse to adding $true and $false a built-in constants. Any
> (In some ways TRUE and FALSE would be nicer, but I guess we've been
> trying to standardize on $-ids for internals. Could we make an
> exception here?)
I was initially also thinking of TRUE / FALSE, but then thought $true
would fit in better with hansl's style. OTOH I guess you could argue
that the $-accessors are not constants (well, except $pi). Of course
TRUE really jumps into your face. (True ?)
I still fail to see what the advantage is, but maybe it's just me. I
see no adverse side effects. so let's go.
IMHO it's just easier to read a function call, given that hansl doesn't
have named arguments.
foo(&mybundle, X, 1, 5, 0, 1) versus
foo(&mybundle, X, TRUE, 5, FALSE, 1)