4 ms·
One thing that I've noticed when digging into historical programming languages of that time period, is that many of them didn't really treat arrays as a type, b
by int_19h 5y ago
One thing that I've noticed when digging into historical programming languages of that time period, is that many of them didn't really treat arrays as a type, but rather as some kind of variable modifier - and then putting the brackets after the variable name makes perfect sense. Notably, Algol-60, the granddaddy of all the C-like languages, already had this syntax:
begin
integer x[1:42];
...
end