nxdk icon indicating copy to clipboard operation
nxdk copied to clipboard

samples: Make winapi samples unmount drives before finishing execution

Open kosmas12 opened this issue 5 years ago • 9 comments

This PR fixes issue #381. While I had previously opened a PR for this (#382), it was getting bloated, so I am opening this new one after I improved upon all the suggestions in the other PR.

kosmas12 avatar Jan 14 '21 10:01 kosmas12

Fixed the indentation and added gotos and labels

kosmas12 avatar Mar 04 '21 09:03 kosmas12

Changes made, hope it's all good now

kosmas12 avatar Mar 25 '21 11:03 kosmas12

I just applied all the suggested changes, ready to make more if needed

kosmas12 avatar Apr 10 '21 18:04 kosmas12

Building failed previously, tired me forgot to test before pushing haha.

Errors fixed and building of both samples tested to work fine.

kosmas12 avatar Apr 10 '21 18:04 kosmas12

I just applied all the suggested changes, ready to make more if needed

No, you didn't. And it's very hard to keep track of what you did or how you resolved things.

I suggest to leave a comment on each review comment, telling the reviewer what you did to resolve it. That way it's much easier to confirm if you understood the feedback + to spot potential logic errors in the new solution. This is especially important for beginners like you, but should also be expected of experienced coders.


This is also taking up a lot of reviewer time and too many iterations for such a small change.

Building failed previously, tired me forgot to test before pushing haha.

This also confirms why it's taking so much time: to little testing locally, and too little reflection / review on your own work. You should review your own changes to make sure you only send a finalized version to reviewers, otherwise you are wasting everyones time (yours included).

Because this PR discussion is getting hard to follow (too much review feedback), I'd even consider starting a new PR if this doesn't reach an acceptable state in the next iteration.

JayFoxRox avatar Apr 10 '21 21:04 JayFoxRox

Changed what I could and tested. If anything more is left I'd also gladly move it to a new PR (even though I know that I should have got it right a looooong time ago and that opening even this 2nd PR is a bit absurd)

kosmas12 avatar Apr 10 '21 21:04 kosmas12

I believe this is ready for a review and hopefully it's (at least one of the) final iteration(s).

kosmas12 avatar Apr 11 '21 15:04 kosmas12

Removal of return was indeed stupid of me, added it back now and ready for a new round of reviews if needed

kosmas12 avatar Jun 28 '21 14:06 kosmas12

I believe I have solved the merge conflicts, so this might be in the clear.

kosmas12 avatar Sep 26 '21 07:09 kosmas12