3 ms·
As a medium long time perl guy who's been dragged kicking and screaming to do a bit of python recently I'm going to repeat this here: Python and perl are actua
by singingfish 3y ago
As a medium long time perl guy who's been dragged kicking and screaming to do a bit of python recently I'm going to repeat this here:
Python and perl are actually pretty much exactly the same - analogous to the Judean People's Liberation front versus the People's Liberation front of Judea. However the languages are optimised for a slightly different purpose. Python helps you to think more like the computer does, whereas perl helps the computer to think more like you do.
- __s 3y agoThis can be nice in Python. The `dis` module makes execution pretty transparent, & it's easy enough to know what bytecode a given line will compile to (granted, comprehensions creating closures does make that a bit harder) CPython's implementation is also straightforward enough that you can look up ceval.c to get a gist of what an opcode is doing