What are your opinions on .NET Core vs Python?

Gregory Ewing greg.ewing at canterbury.ac.nz
Tue Jan 31 00:26:45 EST 2017


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


More information about the Python-list mailing list