ParentFull threadkbsletten·To be fair, getValueOrDefault is strictly more powerful than defaultdict because you can vary the initial value by the key.View on HN