maianess/phonebook — pull request #1 by amygdalama (2014-09-07 00:39:48+00:00)
Title: Code Review

Hey! Here are some edits that I made doing code review. Overall I think this is structured really well and I like how you used `*args`, custom exceptions, and a dictionary mapping commands to functions.

Some things I think would make refactoring easier in the future would be tests! It was hard for me to tell whether a change I made broke anything. (It's quite possible I broke something.)

Also, how could you make this more extensible? By that, I mean, what if you wanted to implement a web front end to this project? What would you have to change? For starters, I think you'd want to `return` the results of your functions rather than `print`ing them.

Let me know if you have any questions! :smile_cat: