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

Lots of structs is how http://handmadehero.org is being built.

"As we can observe many structs are defined, for example more than 40% of DoomDLL types are structs. They are systematically used to define the data model. This practice is adopted by many projects, this approach has a big drawback in case of multithreaded applications. Indeed, structs with public fields are not immutable."



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

Search: