4 ms·
Not really. It would be just as easy to say a[x]=*(a+x-1) and let array indices start at 1.
by unfamiliar 13y ago
Not really. It would be just as easy to say a[x]=*(a+x-1) and let array indices start at 1.
- valisystem 13y agoactually yes, [] derives from BCPL, see evincarofautumn comment just above. ( link to comment, https://news.ycombinator.com/item?id=6886488 https://news.ycombinator.com/item?id=6886488 derived from this submission : https://news.ycombinator.com/item?id=6879478 https://news.ycombinator.com/item?id=6879478 )