Was, wenn alles ein dict wäre? (click here to comment) 25. November 2021, Jochen Wir versuchen ja schon seit einiger Zeit, mal ein bisschen über die in Python eingebauten Datenstrukturen zu reden. Heute hat es dann endlich mal geklappt und Johannes, Dominik und Jochen unterhalten sich darüber, was für eine Programmiersprache dabei herauskommen würde, wenn alles ein dict wäre :).
Shownotes
Unsere E-Mail für Fragen, Anregungen & Kommentare: [email protected]
GitHub Copilot / Pi
GitHub Copilot#234 – Stephen Wolfram: Complexity and the Fabric of RealityTranszendente Zahl | BeweisThe Tau ManifestoWe Now Know 62.8 Trillion Digits of PiFreunde der Zahl PiNews aus der Szene
Django 4.0 release candidateAn oral history of Bank PythonDicts
DictionariesBig O notationdefaultdict„Fortunately, this situation is common enough that Python has another built-in solution. You can subclass the dict type and implement the __missing__ special method to add custom logic for handling missing keys. Here, I do this by defining a new class that takes advantage of the same open_picture helper method defined above:“
Auszug aus
Effective Python: 90 Specific Ways to Write Better Python, Second Edition (Jochen Wersdörfer's Library)
Brett Slatkin
Dieses Material ist möglicherweise urheberrechtlich geschützt.
OrderedDict | UserDictPEP 584 -- Add Union Operators To dictdataclasses | namedtuple | attrs | pydantic__slots__CounterChainMapCasey Muratori auf YoutubeThe Billion Dollar CodeCovid Dashboard (Pavel Mayer)collections.abc — Abstract Base Classes for ContainersPython DistilledPicks
builtins.dictpydanticattrs