>> Personally, I do not like ^, @ and friends.
>> See that topic:
>>http://forum.lazarus.freepascal.org/index.php/topic,18928.msg107215.html
> For me reference and dereference operations are operations like addition and
> substraction. For me
> dest:= s1 + s1 - delta + p1^.a.b + p2^.r^;
> is easier to read than
> dest:= s1 plus s1 minus delta plus refptr(p1).a.b plus refptr(refptr(p2).r));
Huh, "minus" (in place of "-") and "plus" (in place of "+") was a joke.
But, personally, I prefer :
dest:= s1 + s1 - delta + refptr(p1).a.b + refptr(refptr(p2).r));
But is is question of taste (and if you have a no-latin keyboard) : to write ^
with my keyboard, I need to do shift and 2 times the "^" key, keeping the
shift key down.
...
Other thing...
In fpc, to initialize a variable:
var
x : integer = -1 ;
y : integer = -1 ;
z: integer = -1 ;
I would prefer:
var
x, y, z : integer = -1 ;
Fre;D
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk