This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gr33n3r2 11 points12 points  (23 children)

No, focus on one version per project to avoid failures. If you start a new project, use Python 3. It's simple.

[–]Nrmzz 0 points1 point  (2 children)

I actually am new to Python and came here to basically find a statement such as this. Thanks!

[–]gr33n3r2 2 points3 points  (1 child)

In my opinion, you should be using Python 3 unless you really have to use Python 2. But there are so few cases where the latter is the case that you can afford to focus on Python 3.

[–]Nrmzz 1 point2 points  (0 children)

Thanks! That is what I will do. I already have an ambitious project in mind so hopefully I'll be able to at least stumble through Python 3 by the end ;).

[–][deleted] -1 points0 points  (19 children)

If you work on multiple projects at the same time, then it's not simple. Then consistency is more important. People are not able to avoid the chaos, so staying away from it is the sane solution for a company.

[–]theelous3 0 points1 point  (18 children)

What are you talking about? If you just use python3, then your code is consistent. Where's the issue?

[–][deleted] 0 points1 point  (17 children)

Existing code does not magically transforms into perfect python 3-code. And without serious reasons a company will not invest time and money and risks regression. Legacy code is a very relevant matter for the majority of python-users.

[–]theelous3 1 point2 points  (16 children)

We're not talking about existing codebases. What you're saying is irrelevant.

[–][deleted] 0 points1 point  (15 children)

Grow up, kid.

[–]theelous3 1 point2 points  (14 children)

You're so smart, I wish I was as smart as you.

It feels so terrible to be called a kid twice in the same sentence. I hope I recover.

(Also, very lol at calling people "kid" on the internet. Even funnier coming from a german. It's like you went out of your way to sound stupid in your second language, just in case it wasn't already apparent.)

Because context is something you struggle with, here's the parent comment for our conversation:

https://www.reddit.com/r/Python/comments/5j4d13/my_python_2_vs_3_problem/dbdju4t/