[q-lang-users] Q 7.2 RC1 Issue 2: Notation
Brought to you by:
agraef
From: Rob H. <hub...@gm...> - 2006-06-21 09:07:47
|
On 21/06/06, Albert Graef <Dr....@t-...> wrote: > Ok, it looks like we are leaning more to the side of "%" now. Rob, can > you be convinced, in the light of all those arguments? :) Well, the arguments in favour of (%) have been quite compelling. In particular: > "1%5+2%3*i" is a lot more readable than "1 over 5+2 over 3*i" Yes, it is. I agree. My objection was based on the use of '%' in 'C' for modulus. That argument seems much weaker now. The percent sign contains an oblique/slash (/), thus it is at least reminiscent of division. I would prefer another, perhaps compound symbol. I missed that '//' introduces a comment as John pointed out. [Which reminds me of another 'gotcha' in 'C': x divided by the dereferenced pointer p is: 'x/*p' -- which also introduces a comment.] I have not been able to come up with another compound symbol (such as (/^) or (/.)) that looks good enough. Tim is "50-50". John and Keith appear to be in favour of, or okay with, (%). I've been persuaded of some benefits of (%); so I suppose I'm leaning if favour of (%) over (over) -- pun not intended. I'm now happy for (%) to be used. It looks like (%) wins to me, which is a big factor; the remainder of us have been persuaded; we are no longer divided. Groan -- sorry. Rob. |