News for hackers. Stuff that matters.
Re:Fortran is still a thing by std_throwawayay on Wednesday November 28, 2018 @06:36AM (#18550758)
It's one of those many tiny things that add up. There's good reasons why C++ gets so much hate and there's good reasons why it's used in so many applications. I see no good reason to not have multiple array indices.
Re:Fortran is still a thing by jhasse on Thursday November 29, 2018 @10:31AM (#18560887)
> I see no good reason to not have multiple array indices.

It would add a little bit complexity to the language with only a very smal benefit: The same can be achieved with just a few characters more or () instead of [].

Re:Fortran is still a thing by std_throwawayay on Saturday December 01, 2018 @04:51AM (#18576106)
Using Matrix[i,j] is the most intuitive way for most people. It's what you'd use if you don't know anything and it's what you'd understand immediately. That's the benefit for the user.
Re:Fortran is still a thing by AndrewGaspar on Sunday December 02, 2018 @10:13PM (#18586087)
And to be honest, in the list of things that the C++ folks seems to think is important, multi-index index operators seems like it would rank substantially higher than a lot of the other things in the list in terms of value, and a lot lower in-terms of additional complexity.