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

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton