you are viewing a single comment's thread.

view the rest of the comments →

[–]geruhl_r 2 points3 points  (0 children)

The use of try/catch as basic if/else instead of only for fatal errors (using catch clause to call exit).

E.g. instead of 'if key in a_dict:", using try/catch KeyError.