a lazy guy who loves automation and free software
pair programming, mentoring, collaboration
Totally agree with you. When I was on manager role on dev team it was hard to me to trust parts of a project because I was afraid of their future mistakes. Now I’m realizing that it is was my big mistake. As you said, it is better to let them do mistakes and show on code review time. Thank you, great article!
Every time you want to talk with db, you call get_db_handle(). Would it cause multiple database connections or it is handled internally within package? In most tutorials or pymongo usages I saw instance of it declared on file and imported. Not factory, but instance.