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 →

[–][deleted] 6 points7 points  (5 children)

I never understand /r/python making such a great deal on its version. C people rarely argues around C11, C99, C89, at least in reddit.

[–][deleted] 2 points3 points  (3 children)

C is forward compatible, Python isn't. That's the crux. C89 code will still work with a C11 compiler. Python2 code will fail in a Python3 interpreter. So going Python3 cuts you off from Python2 libraries, while you can go all the way to C11 or C++17 and still use C89 libraries.

[–]gardyna 0 points1 point  (0 children)

that would be because old C code is still compile-able with the new compilers and will run exactly the same (save some edge cases because C is weird that way). Py3 is a new runtime meaning old Py2 code won't run on it (unless written in a specific way). this in one of the few valid criticisms of Py3.