@mgedmin matrices in mathematics are normally indexed in row-major order too: A_...

@simontatham@hachyderm.io

@mgedmin matrices in mathematics are normally indexed in row-major order too: A_{ij} means the ith row, jth column. It makes sense because of the convention for multiplying them: (AB)_{ik} = Σ A_{ij} B_{jk}, with the two instances of the iteration variable j adjacent on the RHS. But it annoys me too, because x,y is so much more common everywhere else!

Terminals and text displays, again, are sometimes an exception. I first learned to program in ZX Spectrum BASIC, which places text on the screen with PRINT AT(y,x), even though it draws graphics with PLOT x,y and DRAW x,y. And VT terminal escape sequences – which I've already mentioned in this thread for their _relative_ cursor positioning syntax – put row before column in the sequences for absolute positioning.