Can anyone explain the relative benefits / drawbacks of using globals? From what I've read on google/other sources, they're not good practice.
I can see why, but are the measures taken to avoid using them actually worse than just using them? For example: until now, all of my programs have been passing around large series of structs to all of its functions, containing data that it might not even need. Is this really wasteful, or more so than globals?