News for hackers. Stuff that matters.
Re:No engineer has ever sued because of constructive post-in... by reificator on Thursday February 06, 2020 @10:14PM (#22262930)
> And then after two rounds of interviews they rejected me because apparently 'cat error.log | grep 'ERROR:' | wc -l' is not how real programmers find error count, but write python programs every single time they face such a problem.

bulletsDodged += 1

Re:No engineer has ever sued because of constructive post-in... by somebodythere on Thursday February 06, 2020 @11:35PM (#22263247)
Real programmers would write bulletsDodged++;
Re:No engineer has ever sued because of constructive post-in... by reificator on Thursday February 06, 2020 @11:52PM (#22263326)
Re:No engineer has ever sued because of constructive post-in... by bagacrap on Friday February 07, 2020 @12:05AM (#22263386)
our style guide dictates ++bulletsDodged;
Re:No engineer has ever sued because of constructive post-in... by ErikAugust on Friday February 07, 2020 @12:47AM (#22263527)
Well, bulletsDodged++ and ++bulletsDodged mean different things in most languages. It ain't just a matter of style. :)
Re:No engineer has ever sued because of constructive post-in... by fhars on Friday February 07, 2020 @03:32AM (#22264172)
Like C++ gives you the current value of C and then increments it for some future use.
Re:No engineer has ever sued because of constructive post-in... by reificator on Friday February 07, 2020 @02:28AM (#22263905)
But preferring one over the other is.
Re:No engineer has ever sued because of constructive post-in... by philpem on Friday February 07, 2020 @03:58AM (#22264277)
Thing is, that's not valid Python - but the OP's version is ;-)
Re:No engineer has ever sued because of constructive post-in... by gdy on Friday February 07, 2020 @06:28PM (#22272309)
Corollary: Python programmers are not real.
Re:No engineer has ever sued because of constructive post-in... by philpem on Tuesday February 11, 2020 @11:43AM (#22299857)
Descartes: I hiss therefore I am... ;)