News for hackers. Stuff that matters.
Re:Forward Referencing in C by unwind on Monday June 05, 2023 @08:30AM (#36195303)
Yeah, perhaps even more when they wrote said implementation. :) Nothing against WalterBright, I just thought it was funny to use your own compiler as a referene like that.

I don't quite understand the point, is forward references to undeclared things something to strive after?

Re:Forward Referencing in C by MathMonkeyMan on Monday June 05, 2023 @08:53AM (#36195521)
It prevents you from having to topologically sort your definitions, or otherwise declare everything at the top. Since idiomatic C uses header files, though, it doesn't matter too much. Main benefit is that non-public implementation details (e.g. static functions) needn't be declared at the top of the source file.