Hetzner subsea fibre cut outage
status.hetzner.com140 pointsby cain90 comments
int i;
double x, y;
int f( int, int, int );
f( 2, x, 3 + i ); // technically ambiguous: argument list or comma expression?
Tuple isn't mentioned again until seven or so lines after its explanation. After reading further, I realise they aren't linked in any way, but this was confusing at first. I thought I was missing something major about the syntax. [ y, i ] = [ t.2, t.0 ]; // reorder and drop tuple elements
I don't know what this even means.
If this: [ i, x, y ] = *pt; // expand tuple elements to variables
pulls out tuple elements into variables, and this: x = t.1; // extract 2nd tuple element (zero origin)
accesses tuple elements: then what is "reorder and drop" and why does the combination of the above two behaviour result in an ostensibly different third behaviour?