Re:Why does the arrow (->) operator in C exist?
by Tor3 on Friday May 22, 2026 @03:29AM
(#48233055)
As was mentioned in one of the comments which actually described what the real cause was, it came from the original Ritchie C which had a syntax which in some cases differed a lot from what eventually became C. And in that version it did make sense to use a different operator. That reason disappeared when C as we know it came around, but the -> operator stayed. The real question is then why that wasn't reworked as well, when the underlying cause was.
[ Parent
| on HN ]
There are no comments on this comment yet.