Ciao,

Il Lun, 9 Marzo 2020 12:30 pm, Niels Möller ha scritto:
> Marco Bodrato <bodr...@mail.dm.unipi.it> writes:
>> For the style, I do not know which one is better:
>> "if(c){v=val}else{v=0};" or "v=0;if(c){v=val};"

> I don't have a very strong opinion on this point, but when it's easy to
> do, I prefer to assign once on each code path.

Agreed.

Ĝis,
m

_______________________________________________
gmp-devel mailing list
gmp-devel@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel

Reply via email to