@testdrivenio In most cases where I used defaultdict before, I'm now using standard dict and the dict.setdefault method instead. For the simple example you have it would be:
`department_groups.setdefault(department, []).append(name)`
This also communicates where new keys can be added.
The point of this isn’t to call him stupid or even to bully him into actually wearing SPF it’s just a highlight that sometimes people just don’t know stuff because they haven’t been told it yet and that’s okay we all don’t know something
@theo Outlook (on every platform, but specifically on Android). Main reasons are: (1) the search function which is subpar. (2) the automatic mark-as-read for every email opened and that not being a setting (been requested for years).
ARD und ZDF: Dürfen künftig Online keine Texte mehr bringen
Seriöse Zeitungen: Gute Recherchen und unaufgeregte Artikel hinter Paywall
Fake-Verbreitende Medienkonzerne rechter Milliardäre: Inhalte gibt's überall kostenlos und reichweitenoptimiert
Und wir wundern uns.