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

> But that would only be possible if you write out all the struct fields you are accessing into function parameters. If the struct is complex with a lot of fields, then you would end up with a messy function signature.

This is the approach the article's author took.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: