Re: What are your opinions on .NET Core vs Python?

2017-01-31 Thread Gregory Ewing
Ian Kelly wrote: Java also has "static import" which lets you individually import specific static methods or fields from a class. Yes, but it's nowhere near as convenient as Python's import. To import individual names you have to qualify all of them with the whole package name, and there is no

Re: What are your opinions on .NET Core vs Python?

2017-01-31 Thread Ian Kelly
On Jan 30, 2017 8:00 PM, "Michael Torrie" wrote: > 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

Re: What are your opinions on .NET Core vs Python?

2017-01-31 Thread Ian Kelly
On Jan 30, 2017 11:32 PM, "Gregory Ewing" 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

Re: What are your opinions on .NET Core vs Python?

2017-01-31 Thread Michael Torrie
On 01/30/2017 10:31 PM, Gregory Ewing wrote: > Michael Torrie wrote: >> He was saying that you can >> use the explicit self paradigm in C#. Simply prefix each member variable >> with "this." > > One can do that in one's own code, but it doesn't help > you to read the code of someone else who

Re: RE: What are your opinions on .NET Core vs Python?

2017-01-30 Thread Bob Martin
in 770457 20170131 011814 "Joseph L. Casale" wrote: >> C# hardly seems any better than Java to me as far as a language goes. > >Which sounds pretty good to me, they are both high performance, mature >and rich languages. > >> Being forced into working with classes even

Re: What are your opinions on .NET Core vs Python?

2017-01-30 Thread Gregory Ewing
Michael Torrie wrote: He was saying that you can use the explicit self paradigm in C#. Simply prefix each member variable with "this." One can do that in one's own code, but it doesn't help you to read the code of someone else who hasn't done that. Since it's not part of the C# culture, the

Re: What are your opinions on .NET Core vs Python?

2017-01-30 Thread Gregory Ewing
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

Re: What are your opinions on .NET Core vs Python?

2017-01-30 Thread Michael Torrie
On 01/30/2017 06:52 PM, Nathan Ernst wrote: > self vs this, and you might start a language holy war. Actually no, you misread his point. He was speaking of C#, not Python. In C#, the only word you can use is "this." He was saying that you can use the explicit self paradigm in C#. Simply prefix

Re: What are your opinions on .NET Core vs Python?

2017-01-30 Thread Chris Angelico
On Tue, Jan 31, 2017 at 12:57 PM, Michael Torrie wrote: >> 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?

Re: What are your opinions on .NET Core vs Python?

2017-01-30 Thread Michael Torrie
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

Re: What are your opinions on .NET Core vs Python?

2017-01-30 Thread Nathan Ernst
I mostly agree with this On Mon, Jan 30, 2017 at 7:18 PM, Joseph L. Casale wrote: > > C# hardly seems any better than Java to me as far as a language goes. > > Which sounds pretty good to me, they are both high performance, mature > and rich languages. > > > Being

RE: What are your opinions on .NET Core vs Python?

2017-01-30 Thread Joseph L. Casale
> C# hardly seems any better than Java to me as far as a language goes. Which sounds pretty good to me, they are both high performance, mature and rich languages. > Being forced into working with classes even when they are not > appropriate is jarring. And 100% irrelevant, it doesn't prevent

What are your opinions on .NET Core vs Python?

2017-01-30 Thread Gerald Britton
On Sun, Jan 29, 2017 at 1:06 AM, Juan C. https://mail.python.org/mailman/listinfo/python-list>> wrote: > > > > >* As you guys might know, .NET Core is up and running, promising a > >"cross-platform, unified, fast, lightweight, modern and open source > >experience" (source: .NET Core official

Re: What are your opinions on .NET Core vs Python?

2017-01-30 Thread Michael Torrie
On 01/30/2017 11:44 AM, Juan C. wrote: > On Sun, Jan 29, 2017 at 1:06 AM, Juan C. wrote: >> >> As you guys might know, .NET Core is up and running, promising a >> "cross-platform, unified, fast, lightweight, modern and open source >> experience" (source: .NET Core

Re: What are your opinions on .NET Core vs Python?

2017-01-30 Thread Irmen de Jong
On 30-1-2017 21:33, Joseph L. Casale wrote: >> Python still has my heart, but .NET Core tempts me. One great thing of >> coding in C# would be no GIL. > > Seriously, check out the benchmarks at https://github.com/aspnet/benchmarks. Results vary quite a bit there. For instance take the json

RE: What are your opinions on .NET Core vs Python?

2017-01-30 Thread Joseph L. Casale
> Python still has my heart, but .NET Core tempts me. One great thing of > coding in C# would be no GIL. Seriously, check out the benchmarks at https://github.com/aspnet/benchmarks. I think aside from the obvious, you'll find the Razor engine and the overall library to be a pleasure to work

Re: What are your opinions on .NET Core vs Python?

2017-01-30 Thread Juan C.
On Sun, Jan 29, 2017 at 1:06 AM, Juan C. wrote: > > As you guys might know, .NET Core is up and running, promising a > "cross-platform, unified, fast, lightweight, modern and open source > experience" (source: .NET Core official site). What do you guys think about >

RE: What are your opinions on .NET Core vs Python?

2017-01-30 Thread Joseph L. Casale
> What do you mean by "both platforms"? Python scripts already run on > three major operating systems (Win/Lin/Mac) and a good number of > less-popular OSes; a well-written Python script will run in four major > Pythons (CPython, PyPy, Jython, IronPython) and a number of others; > and all manner

Re: What are your opinions on .NET Core vs Python?

2017-01-30 Thread Chris Angelico
On Mon, Jan 30, 2017 at 6:25 PM, Joseph L. Casale wrote: > .Net Core is fundamentally different and much like Python in the way that > a compiler and runtime for a common language syntax specification has been > written for multiple platforms. So in general, the same

Re: What are your opinions on .NET Core vs Python?

2017-01-29 Thread denis . akhiyarov
On Sunday, January 29, 2017 at 4:00:27 PM UTC-6, Gregory Ewing wrote: > Joseph L. Casale wrote: > >>.NET is a library that can be used from many languages, including Python. > > > > No. > > Yes: > > http://pythonnet.sourceforge.net/ > > "Python for .NET is a package that gives Python

RE: What are your opinions on .NET Core vs Python?

2017-01-29 Thread Joseph L. Casale
> What .NET APIs are anticipated to be released that aren't on the > official CLI list now: > https://en.wikipedia.org/wiki/List_of_CLI_languages#Current_Languages, > and/or, are .NET supported languages expected to expand beyond the CLI > list? I think this (and the last point) misinterprets the

RE: What are your opinions on .NET Core vs Python?

2017-01-29 Thread Deborah Swanson
Joseph L. Casale wrote, on January 29, 2017 1:14 PM > > > .NET is a library that can be used from many languages, including > > Python. > > No. > > .NET Core (what the OP asked about which is not .NET) is a > cross-platform framework. Obviously Python and .NET differ in > runtime semantics

Re: What are your opinions on .NET Core vs Python?

2017-01-29 Thread Gregory Ewing
Joseph L. Casale wrote: .NET is a library that can be used from many languages, including Python. No. Yes: http://pythonnet.sourceforge.net/ "Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a

RE: What are your opinions on .NET Core vs Python?

2017-01-29 Thread Joseph L. Casale
> .NET is a library that can be used from many languages, including Python. No. .NET Core (what the OP asked about which is not .NET) is a cross-platform framework. Obviously Python and .NET differ in runtime semantics with respect to the original source code, however they are now roughly

Fwd: What are your opinions on .NET Core vs Python?

2017-01-29 Thread Gerald Britton
> > As you guys might know, .NET Core is up and running, promising a > "cross-platform, unified, fast, lightweight, modern and open source > experience" (source: .NET Core official site). What do you guys think about > it? Do you think it will be able to compete with and overcome Python in the >

RE: What are your opinions on .NET Core vs Python?

2017-01-29 Thread Deborah Swanson
Juan C. wrote, on Saturday, January 28, 2017 7:07 PM > > As you guys might know, .NET Core is up and running, > promising a "cross-platform, unified, fast, lightweight, > modern and open source experience" (source: .NET Core > official site). What do you guys think about it? Do you think > it

What are your opinions on .NET Core vs Python?

2017-01-28 Thread Juan C.
As you guys might know, .NET Core is up and running, promising a "cross-platform, unified, fast, lightweight, modern and open source experience" (source: .NET Core official site). What do you guys think about it? Do you think it will be able to compete with and overcome Python in the opensource