What's wrong with globals? (philosophical question)

Started by
10 comments, last by Mezz 19 years, 1 month ago
@Magmai Kai Holmlor

Could you clarify what exactly do you meant by the following?

" In some environments (particularily constrained Harvard architectures) ..."

When i come across the term harvard architecture, I'm thinking seperate memory spaces for code and data. Is this what you are refering to? and what exactly do you mean by 'constrained'?
Advertisement
If you're using C++ (as opposed to C) I think static is deprecated as a means for creating file-scope variables, you're supposed to use an anonymous namepsace instead I believe.

-Mezz

This topic is closed to new replies.

Advertisement