Hacker News new | ask | show | jobs
by SomeoneFromCA 2117 days ago
Sure, no problems, will give you feedback later, but here is one recommendation: combine group of booleans frequently used together in conditions into a new separate boolean variable. Say, for example, bool isMoving = (isOpening or isClosing).
1 comments

boolean grouping sounds neat, thanks!