80% of getting stuff through code review

Posted Sep 20, 2017, 9:28 PM UTC

Posted Sep 20, 2017, 9:28 PM UTC
What language is that?
It's C++, Print is a custom variant of printf that supports custom format specifiers for our maths library types, like vectors and matrices
yeah, but I assume Print dumps to stdio?
Yeah, either straight to stdout and stderr or to a log file with extra information
And stderr? You’re not doing it right. Stdout is not for messages.
edit: apparently most people on this sub don't know the difference between stderr and stdout. think about how commands work with redirection. stdout is for output that could be fed into another program. stderr is for errors or other messages you want to show the user but not include in the output fed to another program. I can't think of a time when you would want to send output to both simultaneously.
c++ with a Print() macro maybe
English
When Aussies write programs.
I had a PR recently where I had forgotten a "WTF". Luckily was caught in review. I need to be more careful about this shit.
I hate these kind of code reviewers.. Users wanna have fun, too!
I just leave this here then
That was the sole reason Halo 2 was rated M.
While I would love to see that kind of error message in the wild, just getting a
Shit's Fuckedmessage with no further explanation would be rather unhelpful.