News for hackers. Stuff that matters.
Re:Ncdu 2: Less hungry and more Ziggy by wott on Monday July 26, 2021 @01:29PM (#27962310)
When I see “this code is nice and well commented”, I open the first file that comes up to see how good it is, how an example it can be. Then what I see there is functions without any comment, with single-letter variables, with little error checking, with hardcoded yet repeated literal values, and with a few mistakes (with or without consequences but that requires some investigation to be assessed). Then I open a second file and I find a mistake there too. That's in less than 3 minutes, in a review that's just a quickly oversight picking and peaking random excerpts.

So should I have said, "baaaah, this sucks!"? As it nevertheless far from being the worst code ever, I'd rather warn that what I am going to do amounts to nit-picking, and put a smiley to show that I don't want to disparage the work presented to me.

Re:Ncdu 2: Less hungry and more Ziggy by saagarjha on Thursday July 29, 2021 @04:32AM (#27994196)
> Then what I see there is functions without any comment, with single-letter variables, with little error checking, with hardcoded yet repeated literal values

Well, you didn't really talk about those things the first time, you tried to find bugs instead…