What are your opinions on .NET Core vs Python?

Michael Torrie torriem at gmail.com
Mon Jan 30 20:57:18 EST 2017

On 01/30/2017 06:18 PM, Joseph L. Casale wrote:
> Which sounds pretty good to me, they are both high performance, mature
> and rich languages.

Sure it's a matter of personal preference and need.  I happen to find
the expressivity and flexibility of Python (warts and all) to be rather
liberating compared to Java.  I find Java rather stifling particularly
because of the forced OOP structure.

Not really sure what you mean by "rich language."  Java has a rich
runtime library and a rich ecosystem of utility libraries to draw on.
So does C#.  And so does Python.

> Sorry, sounds like you need to learn SOLID, none of my classes
> have ever taken this form.

Never said they were my classes, or even my programs.  What is this
"SOLID" thing?

In any case, partial classes seems like a misfeature of C# to me but
apparently they are used when making Windows Forms GUI-based apps.
Apparently VS autogenerates the class that backs the form, and then the
developer creates a partial class that extends that to flesh out the
logic and handle the events.  I'm surprised you haven't encountered this.

>>  Makes the code much harder to follow from a human point of view. After
>> working in C# I very much appreciate Python's explicit self requirement
>> for accessing local instance variables.
> So, prefix them with "this." and they will look the same? 

Probably.  But C# developers never do that (nor is it normal to do that
in C++ either).  Not sure what your point is there. I was merely saying
that I now appreciate the logic of the Python explicit self.

More information about the Python-list mailing list