There are some really nice comparisons between C and Python. Obviously Perl is more like C.
It's not obvious to me.
My opinion is that Perl is more like Python than C.
Plenty of other opinions can be found at Curious about Perl's strengths in 2018 (some of Larry's opinions here).
| [reply] |
It's a bit like with JS being syntactically like Java, but internally close to Perl.
Perl having more C syntax than Python doesn't mean they are semantically very different.
We could also quote Guido who said something like "from a 10 km above perspective Perl and Python are the same language"° in a PyCon talk.
update
°) found it Keynote: Guido Van Rossum - Pycon 2012 - Minute 5'50
| [reply] |
Interesting sentiments in the talk linked above. I have been learning about functions in Python. I personally prefer subroutines used by Perl. Python calls the main function in a rather strange way..... It looks like an afterthought. Do any monks have thoughts on this?
| [reply] |