4 ms·
This is so much easier to read for me personally. It immediately tells me what the test cases are. With the author's version it's not that obvious what all the
by dsego 2y ago
This is so much easier to read for me personally.
It immediately tells me what the test cases are. With the author's version it's not that obvious what all the possible combinations of verbIs, countStr and sIfPlural are.
By eliminating redundancies the author introduces a new one, the count == 1 case is handled twice, once for verbIs and than again for sIfPlural.