Hacker News new | ask | show | jobs
by wisienkas 2530 days ago
and you question yourself if it was better to pack that readability into a function or not.

Also why would anyone store a boolean named isDone rather than just returning it as the contract of the function