Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think it can be both, plus communication: communication to n00bs, to yourself in the future if you're really tired, etc.


Though, if the goal is communication, wouldn't it be clearer still to use typedefs to clean up more complex declarations a bit? Or does that end up making things worse?


People do that if such a type is used a lot but probably not if it's just a one-off, just like when they write a function instead of using the same snippet a lot but don't if it isn't.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: