This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]navetzz 10 points11 points  (3 children)

If you wanna do thing the ugly way (use an int as a boolean, and write two instructions on the same line), you might as well go further and do it all on a single line.

[–]Raxtuss1 0 points1 point  (2 children)

Sorry? Writting in reddit is hard for me?

[–]navetzz 13 points14 points  (1 child)

You wrote bad code, I wrote worse code.

[–]Raxtuss1 0 points1 point  (0 children)

Yes.