alt.hn

5/21/2026 at 3:28:00 AM

Why does the arrow (->) operator in C exist?

https://stackoverflow.com/questions/13366083/why-does-the-arrow-operator-in-c-exist

by gnabgib

5/21/2026 at 8:41:24 AM

That's the most annoying part of C. And yes, "I hate implicit" people, I can hear you, but this hampers refactoring A LOT. The number of times I've found myself in "need to move this piece into this function, but then this struct becomes a pointer and I've fix the dots and arrows"…

by tliltocatl