A walkthrough of the Bowling Score coding kata framed as interview preparation. Covers how to approach the problem using TDD principles: writing unit tests first, handling edge cases and invalid inputs, building small focused functions (calculateFrame, scorecard, score calculation), and incrementally assembling the full solution. Key interview tips include following the AAA testing pattern, thinking about error boundaries, naming variables clearly, and leaving refactoring for last.
Sort: