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

to nitpick: windows also needs to provide a main function(why shouldn't?)

but I agree that the fact that the standard allow for 2 different declarations of main in a language without poliformism doesn't help.

Not to start with the whole implementations are free to define extra entry points part.



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: