Hacker News new | ask | show | jobs
by SAHChandler 764 days ago
The public vs. private aspect also affects inheritance. structs publicly inherit from base types by default, classes privately inherit from base types.