6 ms·
Hmm, isn't square normally x*x?
by smartaz42 5y ago
Hmm, isn't square normally x*x?
- WalterGR 5y agoMr. Bright is just using TDD. The ‘square’ function works for 2. Next he’ll generalize it to work for more values. Tests aren’t shown. ;)
- deleted 5y ago[deleted]
- WalterBright 5y agoI tested it, it worked for the one and only test case, therefore it was correct :-)
- mhh__ 5y agoWalter actually retired years ago and replaced himself with an AI. Every now and again there are bugs, move along.