3 ms·
[The [] operator] is an absolute failure of engineering! Do you want to know what real engineering is? It's this: map_set(m, 5, "foo"); char *x = ma
by ggambetta 7y ago
[The [] operator] is an absolute
failure of engineering!
Do you want to know what real
engineering is? It's this:
map_set(m, 5, "foo");
char *x = map_get(m, 5);
So like map::insert and map::at? Did these not exist in 2010?
- pjmlp 7y agoThey did.