[Python-Dev] PEP 557: Data Classes
Guido van Rossum
guido at python.org
Wed Sep 13 00:05:20 EDT 2017
More information about the Python-Dev mailing list
Wed Sep 13 00:05:20 EDT 2017
- Previous message (by thread): [Python-Dev] PEP 557: Data Classes
- Next message (by thread): [Python-Dev] PEP 557: Data Classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Sep 12, 2017 at 7:09 PM, Nick Coghlan <ncoghlan at gmail.com> wrote: > So in this case, the vagueness of "data class" is considered a feature > - since it doesn't inherently mean *anything*, folks are more likely > to realise that they need to look up "Python data class", and if I > search for that in a private window, the first Google hit is > https://stackoverflow.com/questions/3357581/using-python-class-as-a-data- > container > and the second is Eric's PEP. > I think "data classes" is a fine moniker for this concept. It's ironic that some people dislike "data classes" because these are regular classes, not just for data, while others are proposing alternative names that emphasize the data container aspect. So "data classes" splits the difference, by referring to both data and classes. Let's bikeshed about something else. -- --Guido van Rossum (python.org/~guido) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20170912/326b1936/attachment.html>
- Previous message (by thread): [Python-Dev] PEP 557: Data Classes
- Next message (by thread): [Python-Dev] PEP 557: Data Classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list