| ▲ | Printf-Tac-Toe(github.com) | ||||||||||||||||||||||||||||||||||
| 102 points by carlos-menezes 4 days ago | 9 comments | |||||||||||||||||||||||||||||||||||
| ▲ | JKCalhoun 5 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
Contestant: "I'll take My Dirty Programming Secrets for 100, Alex." Alex: "Its primary purpose is to serve as The One True Debugger." (It has certainly served me well.) | |||||||||||||||||||||||||||||||||||
| ▲ | idorozin 7 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
This is both impressive and slightly terrifying. Format strings are way more powerful than most people realize. | |||||||||||||||||||||||||||||||||||
| ▲ | binaryturtle 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
That's the content why I check HN! :) | |||||||||||||||||||||||||||||||||||
| ▲ | LoganDark 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
To be fair, this is actually `scanf` and `printf` in a loop. The `scanf` is buried in the `arg` define. | |||||||||||||||||||||||||||||||||||
| ▲ | danbruc 8 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
How did we end up with printf - within a loop - being Turing-complete? Was it designed that way from the beginning? Were new features added over time until we got there? | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||