Abstraction Trade-Offs
My stance on code splitting has changed over the years. I orinally wrote long unreadable functions like most devs, however after getting and reading Uncle Bob’s book I started to write very short functions. Once again I’m starting to re-evaluate this system.
Pattern - Conditional Towers
A common pattern in code is the use of a conditional tower to isolate an selection process into it’s own function.
An Ode to Try Except Else
Python has the ability to add an else
clause during error handling. It allows you to not have to use a return statement in the catch block so it can look neater and convey your meaning more