raupti•

I hate these kind of code reviewers.. Users wanna have fun, too!

47
AyrA_ch•
59
JoyJoy_•

That was the sole reason Halo 2 was rated M.

2
Lightfire228•

While I would love to see that kind of error message in the wild, just getting a Shit's Fucked message with no further explanation would be rather unhelpful.

11
Southerz•

What language is that?

33
BaconWraithOP•

It's C++, Print is a custom variant of printf that supports custom format specifiers for our maths library types, like vectors and matrices

69

yeah, but I assume Print dumps to stdio?

1†
BaconWraithOP•

Yeah, either straight to stdout and stderr or to a log file with extra information

13

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.

-22
Luminiscental•

c++ with a Print() macro maybe

11
Big_Burds_Nest•

English

2
TwatmanBegins•

When Aussies write programs.

8
weasdasfa•

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.

2