I like using guard clause style for functions which are mostly pure/functional, and one exit at the bottom style for functions that are mostly impure/procedural.