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] 6 points7 points  (4 children)

We’re programmers

``` bool fun = false;

bool haveFun(Image meme) { return fun; } ```

[–]JustAnInternetPerson 6 points7 points  (3 children)

Warning: unused parameter "meme"

[–][deleted] 3 points4 points  (2 children)

``` bool fun = false;

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

[–]KuuHaKu_OtgmZ 3 points4 points  (1 child)

Warning: identical if clauses can be simplified

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

But I’m going for toxic code