What are your opinions on .NET Core vs Python?

Ian Kelly ian.g.kelly at gmail.com
Tue Jan 31 12:45:42 EST 2017


On Jan 30, 2017 11:32 PM, "Gregory Ewing" <greg.ewing at canterbury.ac.nz>
wrote:
> 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.

I'm not sure about C#, but this is certainly not true in Java. Importing a
class adds exactly one name to your namespace, just as in Python, which is
the unqualified name of the class. Java also has "static import" which lets
you individually import specific static methods or fields from a class.



More information about the Python-list mailing list