[fpc-devel] Re: [fpc-l] type discussion
ales at chello.sk
Wed Jun 1 18:52:37 CEST 2005
Gerhard Scholz wrote:
>>> x : type1, y : type2 ;
>>> x *:= y ;
in my humble opinion(IMHO):
:= is based on the fact that A: is written normaly in math etc. where it
means " this is a fact about A "
So when someone writes A:=5; it means "it's a fact that A equals 5"
Writing A*:= is stupid. If nothing else do it like this:
But IMHO it's useless in ANY case. Even C people tend to not use it when
they want readible code(especialy * which is so ambiguos)
As to the ASM:
in C if you do a+=b; and a is int b is longint it does this actualy:
a = a + (int)b;
which is stupid and unsafe.
Just my 0.05 euros
More information about the fpc-devel