Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: [OT] Python vs R

by eyepopslikeamosquito (Bishop)
on May 31, 2017 at 21:37 UTC ( #1191760=note: print w/replies, xml ) Need Help??


in reply to Re^3: [OT] Python vs R
in thread [OT] Python vs R

Python also has a powerful implementation of LISP-style lists
This is the second time, since your second coming, you've drawn attention to the amazing similarities between Python and LISP. You've been asked before to elaborate on this. I'd be interested to learn why you feel Python is more LISP-like than, say, Perl.

Note that in this Python mailing list thread the author retracted a similar casual claim to yours:

I hereby once and for ever more retract my casual suggestion that Lisp had or may have had any direct influence on Python. I was clearly in error, in part having specifically mis-remembered some statements I read long ago by Guido, which in retrospect I find I had completely backwards.

Replies are listed 'Best First'.
Re^5: [OT] Python vs R (linked list vs array )
by LanX (Cardinal) on May 31, 2017 at 23:52 UTC
    > > Python also has a powerful implementation of LISP-style lists

    Of course this is BS

    Python "lists" are exactly like Perl "arrays" , ie an implementation as a vector of pointers.

    But Lisp lists are linked lists, like emulated in Higher Order Perl. I.e. every element has additional to a value a pointer (link) to its successor element. This makes referencing a higher index very expensive because you have to traverse the whole list, but has other advantages (splitting is trivial).

    So these "lists" are fundamentally different data structures only sharing similar names!

    But ...

    ... I wonder why you guys spend time arguing against the PerlTrump who combines kindergarten knowledge with a ridiculously huge ego ? ? ?

    Just compose one "hall of shame" thread listing and linking his worst 20- 100 nonsense statements and keep referencing it in your replies.

    The regulars know him already and the newbees will quickly grasp his abysmal wisdom from this master thread.

    Why wasting energy?

    See also:

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

    ) Python (well numpy) has indeed an "array" class as a wrapper around C arrays only allowing elements of same type and size, something we could emulate with pack and substr

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1191760]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2021-05-16 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (151 votes). Check out past polls.

    Notices?