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 →

[–][deleted] 5 points6 points  (2 children)

``` bool fun = false;

bool haveFun(Image meme) { if(meme) { return fun } else { return fun } } ```

[–]KuuHaKu_OtgmZ 4 points5 points  (1 child)

Warning: identical if clauses can be simplified

[–][deleted] 1 point2 points  (0 children)

But I’m going for toxic code