Earlier quoted context omitted.
This discussion goes now on since Python 3 was released. Python 2 will not be supported or developed after 2020.
Yes, I know. The question is if this decision is correct, given that apparently a lot of people and companies just doesn't plan to switch no matter what.
Python past, present, and future with Guido van Rossum [audio]
41–50 of 151 posts
Re: Python past, present, and future with Guido van Rossum [audio]
#42I've recently had to start writing python professionally and I'm not super impressed. My previous python experience was writing small services and fixing others code. Now that I'm working on larger "apps" it feels like a 90's language with all the rough edges and warts. I'd rather being working in a language with better language services and tooling, but python has numpy and all these data viz libraries so whatcha go…
Re: Python past, present, and future with Guido van Rossum [audio]
#43I've recently had to start writing python professionally and I'm not super impressed. My previous python experience was writing small services and fixing others code. Now that I'm working on larger "apps" it feels like a 90's language with all the rough edges and warts. I'd rather being working in a language with better language services and tooling, but python has numpy and all these data viz libraries so whatcha go…
The other week I've learned a bit of Python history I didn't know about. After listening to Steve Pemberton's talk ([1]), guys in the audience with ties to CWI (Amsterdam uni) pointed out to me that the language he and his team were developing at CWI was the precursor of what came to be Python. Specifically, they did usability studies with non-developers (but still engineers) to come up with ABC/Python's syntax (see…
Re: Python past, present, and future with Guido van Rossum [audio]
#44Earlier quoted context omitted.
Yes, I know. The question is if this decision is correct, given that apparently a lot of people and companies just doesn't plan to switch no matter what.
Well, if you want people to switch to 3, you do need to apply some pressure by end-of-lifing 2.
Re: Python past, present, and future with Guido van Rossum [audio]
#45Earlier quoted context omitted.
It IS a 90s language! ;-) My main issue with Python is distribution. Oh, you're using it on Windows? No worries, just install matplotlib using pip. Oh wait, you need to install cygwin and a C compiler and for some weird reason it won't compile but no worries there is a website with Unofficial Windows Binaries for Python Extension Packages but it's still not working.... Numerical computations and plotting are also my…
Windows still doesn't come with a C compiler? At least it finally comes with ssh, right?
Not with the default install, but it's a free download from microsoft if you want one (either as part of an IDE or as a standalone command line tool). An official native port of OpenSSH is in beta and should be ready to ship officially soon.
Re: Python past, present, and future with Guido van Rossum [audio]
#46Earlier quoted context omitted.
I'm not saying they are, I don't think I've used the language enough to be able to tell what's pythonic and what's not. It's just that I think the language support could be better: why defining a function and calling it right after? That's what lambdas are for.
> why defining a function and calling it right after? Documentation.
Re: Python past, present, and future with Guido van Rossum [audio]
#47I've recently had to start writing python professionally and I'm not super impressed. My previous python experience was writing small services and fixing others code. Now that I'm working on larger "apps" it feels like a 90's language with all the rough edges and warts. I'd rather being working in a language with better language services and tooling, but python has numpy and all these data viz libraries so whatcha go…
I had to work with Python a few times in the past year and I really have to agree. The lack of proper lambdas, closures, its reliance on mutable data structures and imperative idioms, and the useless distinction between statements and expressions makes it feel like somebody was trying to write a modern language but for some reason stopped halfway. For example: you can't assign the result of an "if" statement. Why? Be…
Do you mean something like a ternary operator? You can certainly do: x='foo' if condition else 'bar'.
In fact you can even do multiple assigments: (x,y) = ('foo1','foo2') if condition else ('foo3', 'foo4')
where 'Foo' may also be a function call.
>I think people feel like it's unpythonic and instead pollute the namespace with singleton classes that only have one method.
There's a few pycon talks on "a single method class should not be a class" but I'd say that's the single responsibility principle at its purest along with the community needing to move to more lightweight structures like namedtuples.
Re: Python past, present, and future with Guido van Rossum [audio]
#48Earlier quoted context omitted.
It IS a 90s language! ;-) My main issue with Python is distribution. Oh, you're using it on Windows? No worries, just install matplotlib using pip. Oh wait, you need to install cygwin and a C compiler and for some weird reason it won't compile but no worries there is a website with Unofficial Windows Binaries for Python Extension Packages but it's still not working.... Numerical computations and plotting are also my…
Windows still doesn't come with a C compiler? At least it finally comes with ssh, right?
Re: Python past, present, and future with Guido van Rossum [audio]
#49Earlier quoted context omitted.
It IS a 90s language! ;-) My main issue with Python is distribution. Oh, you're using it on Windows? No worries, just install matplotlib using pip. Oh wait, you need to install cygwin and a C compiler and for some weird reason it won't compile but no worries there is a website with Unofficial Windows Binaries for Python Extension Packages but it's still not working.... Numerical computations and plotting are also my…
Windows still doesn't come with a C compiler? At least it finally comes with ssh, right?
Re: Python past, present, and future with Guido van Rossum [audio]
#50The unofficial python 2.8 is here: https://github.com/naftaliharris/tauthon
Serious question: What are the reasons people are still preferring Python2 over Python3? (No troll intended)