On 03/03/2011 10:56 PM, Jonathan M Davis wrote:
Conceptually, a property makes no sense unless it's a property _of_ something. I'd argue that C# (which has properties) doesn't have global properties, but it doesn't even have global variables. It doesn't have static (class) properties though. Regardless, while syntactically, it might be beneficial in rare cases to use property syntax with a global variable, it violates the concept.
FWIW, numerous other languages which have properties in _this_ sense of the term only have them in classes (python, Eiffel...)
Denis -- _________________ vita es estrany spir.wikidot.com