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

Good luck parsing this:

  double (*my_function(int(*callback)(void*)))(double);
without needing to think way harder on it than if typedefs were used:

  func2* my_function(func1*)
This isn't basic syntax. C's parser is really bloody complex. That's why we have things like ioccc.org, because C's syntax is NOT trivial.


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: