Arc Forum
new
|
comments
|
leaders
|
submit
login
1 point
by
bayareaguy
6171 days ago |
link
|
parent
Even since this started to work, I still prefer some_dict.has_key("username") because then if an ordinary string accidently found its way into some_dict I'd get a runtime error instead of a silent logic bug.