4 ms·
You’re only “stuck” with it to the extent that you’re stuck with C(++). Free yourself from that and the rest follows.
by masklinn 2y ago
You’re only “stuck” with it to the extent that you’re stuck with C(++). Free yourself from that and the rest follows.
- immibis 2y agoC++ is better, actually, because a template type has a straightforward syntax.
- tsimionescu 2y agoC++ template syntax exists in addition to all of the C type syntax. And it adds its own ugliness besides (such as knowing when you can say T vs having to say typename T). It's not like there is an array<int> or ptr<int> syntax that can replace int[] or int*.