2 ms·
Programmers also write something like *[3]int instead of "pointer to array of 3 integers" in most PLs. (Modula-2 tried the latter, but it didn't stick.)
by int_19h 2y ago
Programmers also write something like *[3]int instead of "pointer to array of 3 integers" in most PLs.
(Modula-2 tried the latter, but it didn't stick.)
- cubefox 2y agoYeah, though such special symbols are less common. I think they are still too common though. E.g. using the unnecessarily obscure "if (A) B" instead of "if A then B".