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

Typedefs are useful only if you use functions for all operations on the data type.

Otherwise, if you actually use the variable directly, you are requiring the user to remember the underlying type of the typedef.

Larger program, hundred plus typedefs, unbearable burden on reader.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: