Language design

Prasad, Ramit ramit.prasad at jpmorgan.com.dmarc.invalid
Wed Sep 11 17:56:43 EDT 2013


Mark Janssen wrote:
> 1) It tried to make Object the parent of every class.  No one's close
> enough to God to make that work.
> 2) It didn't make dicts inherit from sets when they were added to Python.
> 3) It used the set literal for dict, so that there's no obvious way to
> do it.  This didn't get changed in Py3k.
> 4?) It allowed [reference] variables to be used as dict keys.  This
> creates a parsing difficulty for me, mentally.  Keys should be direct,
> hashable values, not hidden in a variable name.

What do you mean by 4? Do you mean that keys should only be hardcoded?
I am going to assume you meant something different, as that sounds like
a terrible idea to me...

> 
> A few of the top of the head....
> 
> Mark

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.  



More information about the Python-list mailing list