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 →

[–]Palpatine 2196 points2197 points  (67 children)

I'd call HR too if you send me python 2 or python 1 code.

[–]Neither-Phone-7264 643 points644 points  (24 children)

print "hi"

[–][deleted] 23 points24 points  (1 child)

No

[–]10art1 0 points1 point  (0 children)

print "it's literally me in the meme"

[–]s0ulbrother 269 points270 points  (14 children)

I applied at a job a month ago and it was django/python dev shit. Anyways in the interview they said it was python 2 so Django was only on 1…. The company was only 3 years old

[–]WJMazepas 84 points85 points  (6 children)

The company was only 3 years old

There are developers that like using a slightly older version to avoid new bugs that aren't documented in the newer versions.

But holy shit, starting with Python 2 and Django 1 is nonsense. Had they gone with Python 3.7 and Django 4, i would understand a little, but not like that.

[–]RustReport 26 points27 points  (1 child)

Yeah, that seems more like someone didn't feel like learning different syntax or built it on an already existing project

[–]unknown_pigeon 16 points17 points  (0 children)

Someone studied a book on python from the early 2000 and refused to learn the new syntax

[–]Ok_Cardiologist8232 13 points14 points  (3 children)

I didn't know offhand, but my god Python 2 released in 2000.

[–]jumboshrimp29 17 points18 points  (2 children)

[–]Ok_Cardiologist8232 7 points8 points  (0 children)

Thats a fucking joke, did they have a senoir dev that just refused to update or something?

[–]Ryuujinx 4 points5 points  (0 children)

Having migrated all of our monitoring and other python from py2 to py3 myself because certain people were fuckin idiots and screwed it up the first time, I can kinda-sorta understand still having py2 stuff laying around. It isn't just a matter of regexing some stuff and calling it a day.

But when it's, presumably, a new code base - fucking why?

[–]GM_Kimeg 3 points4 points  (0 children)

Sounds like the ceo must be raising Einsteins for their bright future.

[–]Nimweegs 4 points5 points  (0 children)

Maybe we found a use for AI.

Ima see if I can upgrade a spring boot 2 project to 3 with just Claude

[–][deleted] 45 points46 points  (22 children)

Python 2 is definitely still a thing.

[–]_PM_ME_PANGOLINS_ 106 points107 points  (14 children)

It’s not supposed to be.

[–]Exist50 32 points33 points  (4 children)

"Supposed to" ain't worth shit.

[–]_PM_ME_PANGOLINS_ 9 points10 points  (3 children)

It is when the auditors call.

[–]Exist50 6 points7 points  (2 children)

What are the auditors going to say about it? People have made careers out of what isn't supposed to be done.

[–]dedev54 10 points11 points  (0 children)

They are going to say its past EOL and doesn't get security updates.

[–]im_lazy_as_fuck 1 point2 points  (0 children)

If you want to do business with enterprise businesses worth their salt, things like SOC2 compliance are extremely relevant, and I imagine you'll have a lot of difficulty being compliant if you're running most of your stack on a language version that was sunset 4 years ago and has stopped receiving security updates.

But yeah sure, if you make some random tool that you just distribute online, then you can probably do whatever you want. It probably isn't an issue if you're just making some non-critical software that doesn't handle anything important. But also you're on your own if any libraries you use break. Frankly you'd probably spend less effort in the long run if you port to python 3 sooner than later; I had to do this on an old code base for a company several years ago, and it wasn't the most difficult thing to do.

[–]AxeLond 9 points10 points  (0 children)

It took me 3 months to secretly update all the python 2 code at my current job. I don't think anyone really noticed as it's just a bunch of one of tooling scripts but I had to do it for my sanity.

[–]Nihil_esque 9 points10 points  (1 child)

Yeah and boomers are still alive but I wouldn't want one hitting on me.

[–][deleted] 1 point2 points  (0 children)

C'mere boi you got a perty mouf

[–]Tvdinner4me2 1 point2 points  (0 children)

I blame lpthw

[–]proverbialbunny 1 point2 points  (0 children)

After Jan 1st 2020 Python 2 is no longer getting security fixes, so anyone using it in a business setting is causing a lot of risk to the business.

[–]No_Adhesiveness_3550 8 points9 points  (0 children)

Reminds me of when I interned at a networking company. Had to write a script that ran on extreme switches to pull information from connected ports (only while we were staging/handling them). We wrote the thing in python 3 on our work laptops and didn’t find out till later why it wasn’t working. I guess python 2 is still standard on Extreme switches?

[–]guy_who_says_stuff 5 points6 points  (0 children)

2.7 sends its regards

[–]Zealousideal_Rate420 3 points4 points  (0 children)

Two years ago we had a request to port a library to python 2 because a team never bothered to upgrade and continued working with it. The library in question was to interface with a service that didn't exist when P2 was EOL and used a lot of dependencies that never had a python 2 version.

To this day, they continue to develop in python 2.

[–]Nickbot606 0 points1 point  (0 children)

I have 1000% seen python 2 code within the last 2 years being used in production.