--

Thanks Dayne!

Indeed, I agree with you! regarding the last point. Usually, it is not worth to create a function for a single line!

Regarding the booleans: the devil is in the details. It depends a bit on the context of the boolean!

--

--

Lorenz Hofmann-Wellenhof
Lorenz Hofmann-Wellenhof

Written by Lorenz Hofmann-Wellenhof

👨‍💻 Software Eng @ AI unicorn 🇺🇸 Sharing my lessons for non-stop growth in AI, coding, & life optimizations. I build things & put them on the Internet.

No responses yet