New answers tagged

1 vote

I try to refactor a working code and it's doesn't work. Would adding the failed attempt be on-topic?

We can't review the code that doesn't work. But it may be helpful to include something like that as an illustration of why you're not using that approach. That may avoid reviewers suggesting the ...
Toby Speight's user avatar
3 votes
Accepted

I try to refactor a working code and it's doesn't work. Would adding the failed attempt be on-topic?

Getting the original reviewed is on-topic. Asking why your attempt to refactor it is asking us to fix it and thus not on-topic. But you can absolutely include it as a 'this is what I've been thinking ...
Mast's user avatar
  • 13.4k

Top 50 recent answers are included