|Don't ask to ask, just ask
Re^2: Notation of sort functionby Discipulus (Canon)
|on Oct 27, 2023 at 10:43 UTC
Alphaphi: I dont see redundancy, I think the syntax is flexible to permit also different use cases.
> There are cases where one might want to apply different conditions on the operands..
mmh.. yes this can also be true but I suppose just as a trigger inside comparison: which apple is heavier but golden one count more
> ..or where one of the operands isn't $a or $b at all
I dont think this can be logic. Also in sort of misunderstanding of sort you can find that sort is optimized, so not every pair is checked so if you will sort apple against pear I wonder which use case can be.
Courious to know otherwise :)
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.