Nathan Ernst wrote:
There is no reason you cannot introduce a static class with pure static
members (i.e. the Math class in System). A static class effectively becomes
another namespace in C++ parlance. I'll admit the syntax is a bit odd, and
enforces you, at a minimum to use the outer name a as a qualifier,

That's the thing I find most frustrating about both C# and Java,
the lack of anything like Python's "from ... import ...". You get
a choice of either effectively doing "import *" on the contents
of a whole class and polluting your namespace, or Fully.Qualifying.
Every.Little.Thing.

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to