Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is quite easy to write Python code that works just with all Python versions since 3.6. Easier than writing any Perl code...


Years ago, someone would say "It is quite easy to write Python code that works just with all Python versions since 2.6. Easier than writing any Perl code..."

Then 2.7 came out.. and 3.0...


Perl requires a 'use version' statement otherwise your code can't use anything added since ~15 years ago. Python has no such system, so it's hard to know if the code is going to work on any given version of python. The core modules also seem to change much more often than Perl's.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: