Comment Comment by gpderetta I (and many other C++ programmers), on the other hand, I'm always annoyed and surprised that dictionaries on other languages do not have default insert on lookup.It is just very convenient (hence the existence of defaultdict in python). parent gpderetta 3 years ago
It is just very convenient (hence the existence of defaultdict in python).