3 ms·
perl5 meets that except for the REPL. Maybe elisp? I feel like golang could take the place of a lot of Python out there, but not all, certainly. It would be ni
by 6keZbCECT2uB 6y ago
perl5 meets that except for the REPL. Maybe elisp?
I feel like golang could take the place of a lot of Python out there, but not all, certainly.
It would be nice to have an alternative to Python that took backwards compatibility seriously. Might be easier to start from Python2 than to go from scratch. You might be able to add a REPL to perl5, but its syntax isn't the most beginner friendly I've ever seen.
- redis_mlc 6y agoThe perl debugger can probably do anything you want, including repl: $ perl -d ^d DB<1> print 5*5 25 DB<2> q $ Also, perl5 has excellent backward compatibility. I'm still running the same scripts since the late 90s in production. Perl is superior to python in having forward references, compile and runtime type checking, and no significant whitespaces. Whenever I have to use python, my first impression is always, "Gee, what a giant step backwards compared to Perl."