logoalt Hacker News

anacrolix12/09/20241 replyview on HN

[flagged]


Replies

tobyhinloopen12/09/2024

My auto-formatter always changes it like that and I just don't understand why `char *foo` is better than `char* foo`.

I consider `char*` to be the type of `foo`. What's the rationale of having `char *foo`?

show 2 replies