Question d’entretien chez Samsung Research America

Build in Scala a datatype similar to defaultdict in python

Réponse à la question d'entretien

Utilisateur anonyme

2 déc. 2014

This is a tricky type system question. If your dict is immutable, it's easy, cause you can just have a default immutable object. If your dict is mutable, things get interesting