r/programming • • Aug 25 '26

EVE Online: The Move to Python 3 Begins!

https://www.eveonline.com/news/view/the-move-to-python-3-begins
803 Upvotes

290 comments sorted by

View all comments

Show parent comment

17

u/OSS-Corpo-Shit Aug 26 '26

Kinda sounds like the right answer would be to dump Python altogether…

9

u/R1cwu Aug 26 '26

If money and time were irrelevant, yes. But going from python 2 to 3 is still easier than completely rewriting it in a wholly different language. Especially because the people currently working on the game would need to become proficient in that new language first.

1

u/TwoWeeks90DaysTops Aug 26 '26

Yeah, if performance is an issue then Python will be an issue. I also don't get writing performance critical stuff in another language.

Python is not a great language to begin with.

Function scoped variables, indentation scoping, no variable declaration except on first assignment, division can in some cases result in a complex value at runtime (the exact same issue they objected to with float/int division which was changed in 3.0), poor to non-existing pattern matching, poor at handling optional values (no operators to handle None values), Python objects aren't serializable by default, backwards comprehension syntax, default arguments are mutable singletons, multiple inheritance which makes some OOP patterns very cumbersome in Python, relatively poor deployment and package management story.... There's just a ton of cruft in the language, and when performance is so abysmal it's just downright weird that people stick with it.

1

u/OSS-Corpo-Shit Aug 26 '26

Python gathered fame by spamming forums with “20 lines?!?!? In Python that’s just 1!” And “hello world is one line!!!”

It is not difficult to see why Python, despite being shittier than even JavaScript, remains popular. The average Python developer judges programming language usefulness based entirely on whether “hello world” is one line or not.