5 ms·
surprised that most of this is considered obscure... and also teh square bracket thing is only for built-in types (e.g. pointer types) because it can be overloa
by jheriko 13y ago
surprised that most of this is considered obscure... and also teh square bracket thing is only for built-in types (e.g. pointer types) because it can be overloaded...
the constructor vs. function choice is a classic gotcha for instance. i've had to explain it to juniors many times.