3 ms·
I'm not sure "provide only one way of doing things" is a core principle of C. It at least seems to have fallen to "type less" in several cases: i = i + 1;
by dllthomas 13y ago
I'm not sure "provide only one way of doing things" is a core principle of C. It at least seems to have fallen to "type less" in several cases:
i = i + 1;
i += 1;
i++;
++i;
a[i]
*(a + i)
a->foo
(*a).foo
- humanrebar 13y agoYou left out: i[a]
- dllthomas 13y agoI considered it, but decided it would be more noise than substance in this particular list. I do like that pun, though.