Re:We were wizards – a foreword to Learning Perl
by __s on Sunday March 17, 2024 @09:57AM
(#39734510)
This 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
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.