News for hackers. Stuff that matters.
Re:The Programming Language B (1973) by int_19h on Monday August 09, 2021 @02:00PM (#28120065)
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

There are no comments on this comment yet.