Y
Hacker News
new
|
ask
|
show
|
jobs
by
smartaz42
1700 days ago
Hmm, isn't square normally x*x?
3 comments
WalterGR
1700 days ago
Mr. 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. ;)
link
WalterBright
1700 days ago
I tested it, it worked for the one and only test case, therefore it was correct :-)
link
mhh__
1700 days ago
Walter actually retired years ago and replaced himself with an AI. Every now and again there are bugs, move along.
link