logoalt Hacker News

peloratlast Saturday at 11:30 PM2 repliesview on HN

Delete "fn" and I might get onboard


Replies

hmryyesterday at 12:17 AM

The price of not requiring fn is mandatory forward declarations, header files, and a slower parser (because then the syntax requires knowing whether every symbol is a type or a function/variable to be parsed correctly)

I think that trade-off is absolutely not worth it. I'll take order-independent declarations and fast modules over strictly sticking to C syntax any day.