|
From: <pl...@pi...> - 2014-04-18 14:06:20
|
On 04/18/14 08:19, sfeam wrote: > - Most people don't have their keyboard set up to type ➗ easily. > > Ethan Any my default character set does not even display it ! Looks like a rectangle of grey spots. While I too would prefer a Pascal like 'div' as a separate operator ( in fact Pascal's strong variable typing makes it one of the fastest languages to write and debug reliable code , but I digress ), changing the usual fp division to anything other than slash is likely to cause more confusion than anything else. > - The same people who didn't understand why 10/4 == 2 won't > understand when/why they need to use a different operator. The people who do not understand *don't need* a new operator. ;) I really don't see the need for anything more complex than the use of slash as always f.p. division and int() where int.div. is required. Someone may like to scratch their head about byte counting how inefficient it is to do an fp div then a fn call but, as I said before, in the sea of f.p. needed by 'plot' I'm not sure there is a strong argument for a separate operator. (Not that I see any objection to a new op for integer. div.). Peter. |