I came across once-only lisp macro, yet another implementation today, in which the OP is following up on a previous question whereby OP had improved some code, presumably fixing it.
I tried implementing my own macro for the same purpose earlier, but it had a bug, as pointed out at once-only lisp macro, is my implementation correct?.
In this latest question, OP has presented a new version:
This time I have done another alternate implementation, hopefully fixing that bug. I would like to know if my implementation is correct this time around ?
I commented (and at least one person seemed to agree) that if there are no apparent problems with it (i.e., it seems to work, since OP isn't asking about a specific problem), then it might be a better fit for Code Review. I flagged for migration, but got declined with the reason that
declined — it's not clear that the code is working
Now, I'm OK with that verdict, it's true that it's not necessarily clear that the code is working, but without any specific bug mentioned (and I'm presuming that OP wasn't intending to ask "there are X bugs in here, can you spot them?"), isn't this essentially a request for a code review of presumably working code?
If it's not, then it's clearly too broad, as there could be lots of bugs, and thus lots of possible answers.
What would have been the appropriate action here?
Update
In the comments on Jamal's answer, gnat pointed out a six point checklist for Code Review (from the On-Topic guidelines for Code Review):
Simply ask yourself the following questions. To be on-topic the answer must be "yes" to all questions:
- Is code included directly in my question? (See Make sure you include your code in your question below.)
- Am I an owner or maintainer of the code?
- Is it actual code from a project rather than pseudo-code or example code?
- Do I want the code to be good code? (i.e. not code-golfing, obfuscation, or similar)
- To the best of my knowledge, does the code work?
- Do I want feedback about any or all facets of the code?
If you answered "yes" to all the above questions, your question is on-topic for Code Review…
I think that OP would have answered yes to all six points, but the discussion seems to be hinging on whether the fifth ("To the best of my knowledge, does the code work?") is actually the case or not.