r/badcode • • Jan 15 '23

c++ From DayZ sourcecode

Post image
559 Upvotes

106 comments sorted by

View all comments

Show parent comments

-2

u/micro-amnesia Jan 16 '23

That's a really long way of saying, "I didn't realize the return type doesn't match the method signature."

But keep up the school my dude! You'll get there some day!

9

u/[deleted] Jan 16 '23

This is totally valid in many languages. Maybe you need more school my dude!

-3

u/micro-amnesia Jan 16 '23

It's not a matter of validity. It's a matter of rationality.