HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by smartaz42 | Hacker News Reader
Parent
Full thread
smartaz42
·
Hmm, isn't square normally x*x?
View on HN
WalterGR
·
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. ;)
WalterBright
·
I tested it, it worked for the one and only test case, therefore it was correct :-)
mhh__
·
Walter actually retired years ago and replaced himself with an AI. Every now and again there are bugs, move along.
Reply on news.ycombinator.com