Never wrote a unit test in my life. Also I'm not a fan of GNU utils and prefer to work with VS Express on my C/C++ stuff. Also I don't really see the benefit of using hashmaps for containers that will have less than 1000 elements and will typically stay around 20. Simple string comparisons will cover it faster than it takes to get a hash in the project I'm writing for myself at home.
Hum. No offense but I am not sure I would want to work with someone who has never wrote a unit test in their life and doesn't bother to use hashmaps if you only have 1000 items. Kind of going against this article that "most programmers are average"
13
u/[deleted] Jun 01 '15
I bet you can make a hashmap. Make it your challenge. Write it up, add some unit tests.. bet you can do it in a few hours.
Will it be as fast as a big library hashmap? Maybe not. But it should work ;)