
9 May
2006
9 May
'06
4:27 p.m.
On Tue, May 09, 2006 at 06:04:31PM +0200, Tobias Schwinger wrote:
The code is more readable and more flexible. You don't have to be afraid to break things when you change the type of a varaible, it either just I'm not convinced. What if you change a and b from "heavyweight" integer to built-in integer? Then the semantics of the your example change:
rational c = a / b // where a and b are integers a=1 b=2 c will then be zero. Regards, -Gerhard -- Gerhard Wesp ZRH office voice: +41 (0)44 668 1878 ZRH office fax: +41 (0)44 200 1818 For the rest I claim that raw pointers must be abolished.