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

>It's strange to go back to old-school function definitions:

Ha ha, yes.

The first edition of The C Programming Language book by Kernighan & Ritchie (the book popularly called just K&R) used those definitions.

The second edition (the ANSI C one) used the latter kind of definition, the ANSI kind, with both function arguments and return values having (mandatory?) types.

I remember I used to religiously use the latter kind from as soon as the C compilers I used, supported them.



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

Search: