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

Each time you want to write such callback, you'll need a special userData struct right ? otherwise you'll have a generic bag and lose typechecking.

Let's say Closures are free typed anonymously defined structs.



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: