Ad
  • Custom User Avatar

    It seems like I've solved this kata similarly. But I like your precedence check (refactoring is better than mine, for example, when one needs a new operator). Although in the work function you could remove all the reads and only add numbers to your accumulator (the last pattern should, of course, contain read).

  • Custom User Avatar