[fpc-pascal] Record operator for assignment
Jürgen Hestermann
juergen.hestermann at gmx.de
Mon May 8 11:37:50 CEST 2017
Am 2017-05-08 um 05:47 schrieb noreply at z505.com:
> It's similar to this feature:
> x,y,z := 1, 12, 7
> It's neat to be able to assign multiple variables on a single line. But necessary? mandatory?
It's not even neat.
It would bloat the Pascal language unneccesarily (as many other additions have done in the past).
I definitely prefer
x := 1;
y := 12;
z := 7;
where I see much better which value is assigned to which variable.
Look at this:
a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u := 3,5,1,7,33,82,7,14,9,0,-1,1,13,14,17,8,2,9,15,88,62;
would that be readable code?
More information about the fpc-pascal
mailing list