43 ms·
What if I need to add 2 and 1? Is there a lib for that? Or would this one need to be completely refactored? Also, in what version could we expect ability to ha
by michaldudek 14y ago
What if I need to add 2 and 1? Is there a lib for that? Or would this one need to be completely refactored?
Also, in what version could we expect ability to handle 2 digit (or more!) numbers?
- lzh-ng 14y agoIf you're going to implement 2+1 functionality, make sure to add the appropriate unit tests.
- igorw2 14y agoThe library supports adding other numbers than 1 and 1. Your use case of adding 2 to 1 is supported. As are multi-digit numbers. As are negative numbers. As you can see, the library is quite advanced.