variables are divided into individual var sections instead of uniting them under one or at least by groups. Can you please tell me if this makes any sense? Is it done for the sake of safety or is it optimization for the compiler? Because it is difficult for me to catch some code beauty in such places.
Example:
var
buf: t128buf = ( 0, 0, 0, 0 );
var
cb: t128buf;
var
tkey: array [0..15] of longword;
var
test_count: longint = 2048;
var
run: boolean = False;
Стикер
Well, for example, from what I remember seeing here: https://github.com/delphi-pascal-archive/three-fish/blob/master/ThreeFish/1024/libthreefish.dpr
I see that the styel of coding here in the declarations is to change const var type frequently. I assume in this case the author puts its in just in case to avoid confusion. IMHO
Ok, I see. "Over-clarification" style) Thanks for the reply.
Обсуждают сегодня