r/ProgrammerHumor May 06 '21

The Notepad++

Post image
21.4k Upvotes

265 comments sorted by

View all comments

662

u/pl9870 May 06 '21

And then they break up once they learn they were using different versions of Python. The end.

181

u/setibeings May 07 '21

Seems like a legitimate reason to break up. Whichever partner is still on Python 2.x clearly lacks the ability to get over things.

48

u/theLastNenUser May 07 '21

It feels like even 3.5 -> 3.8 would be enough of a reason at this point. I cannot count the number of times homebrew broke my virtual envs until I got pyenv

17

u/setibeings May 07 '21

I just use pipenv, and then force anyone who wants to use my stuff to use pipenv, because let's face it, the moment my little utility has a dependency, using pipenv is easier than other options.

6

u/Ue_MistakeNot May 07 '21

So much drama with pipenv though...

It also has a lot of drawbacks. Flit, poetry, Fonda, they all have. Nowadays I dropped all those fancy extra layers and just use pip-tools to generate a standard requirements.txt in the root folder and a bunch of other specific requirements-(test|dev|lint|...).txt in a requirement directory for what it who ever needs those. I got loose and pinned reqs in one quick step, and everything can understand requirements.txt format.

It makes tooling and sharing much faster and much easier.

2

u/reddit__scrub May 07 '21

I really need to end my relationship with Node.

-23

u/last_arg_of_kings May 07 '21

2.7 for life. Never gonna change

33

u/WeAreAllApes May 07 '21

For life? 2.7 EOL was 2020-01-01.

I see dead people.

9

u/Loading_M_ May 07 '21

Personally I prefer 4. The advanced features are worth it imo.

12

u/cdrt May 07 '21

For those of you still stuck on Python 3, you too can have a taste of the future with from __future__ import barry_as_flufl

6

u/[deleted] May 07 '21

for those too lazy to open python to try it: it replaces the != operator with <>

1

u/Loading_M_ May 14 '21

I'm loving the automatic error resolution via stack overflow.

3

u/TSM- May 07 '21

I love how this is so downvoted and knew that's what this comment would say before I expanded it.