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

It’s easy to miss this in large codebases. Having to check every single struct initalisation whenever a field is added is not practical. Some folks have mentioned that linters exist to catch implicit initialisation but I would argue this shouldn’t require a 3rd party project which is completely opt-in to install and run.


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

Search: