2 ms·
I think both have their place. I like using guard clause style for functions which are mostly pure/functional, and one exit at the bottom style for functions t
by jjnoakes 6y ago
I think both have their place.
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.