Hacker News new | ask | show | jobs
by jancsika 3095 days ago
The class-based solution provides more information about the developer's approach than the single struct for the BitBoard.

For example, where would the equivalent of "findMoves" be declared in the latter case? Is the bitmath abstracted out into a set of helpers, or is it done in one big function?