Comment on A minimax chess engine in regular expressionsparentComments−tubs1yIt’s very fun and impressive but it’s absolutely not a single call.−rhdjebejdbd1yMaybe a generous interpretation of the comment and a realisation that common language isn't always 100% precise would be better than pointless arguments about semantics.There is only a single printf written in the source code.−tubs1yThat I can agree with!−philipwhiuk1yI don't think it's an unreasonable criticism, otherwise the challenge is trivial:``` function printg(arg) { printf(arg); } ```−Ensorceled1yThat, of course, isn't what they did.−philipwhiuk1yThey did put it in a while loop though, which, if my programming isn't completely out of date, is capable of calling the function more than once.
Comments
It’s very fun and impressive but it’s absolutely not a single call.
Maybe a generous interpretation of the comment and a realisation that common language isn't always 100% precise would be better than pointless arguments about semantics.
There is only a single printf written in the source code.
That I can agree with!
I don't think it's an unreasonable criticism, otherwise the challenge is trivial:
``` function printg(arg) { printf(arg); } ```
That, of course, isn't what they did.
They did put it in a while loop though, which, if my programming isn't completely out of date, is capable of calling the function more than once.