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

  > Ritchie relaxed the definition-before-use rule by allowing
  > redundant declarations of procedure headings. At the
  > expense of a redundant advance declaration the programmer
  > can define mutually recursive procedures in C.
Point of order: C didn't have a declaration-before-use rule until C99. C had ‘implicit int’; no redundant declarations necessary.


I thought ANSI C had that roughly around 1990? I remember having to forward declare functions when I took C at University in around 1991 or so.




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

Search: