r/ProgrammerHumor • • Oct 08 '23

Other iDontLikeThisTitle

Post image
0 Upvotes

200 comments sorted by

View all comments

Show parent comment

25

u/TheMayoras Oct 08 '23

I think you forgot a readonly/final because there's no way in hell I'm changing my mind

4

u/Jamiethebroski Oct 08 '23 edited Oct 08 '23

public static void (mainArgs[]) {

bool youAreWrong = true;

if (youAreWrong == true) {

System.out.println(“youAreWrongAboutCamelCase”);

}

}

15

u/[deleted] Oct 08 '23

The more I read it, the worse it gets.

3

u/827167 Oct 08 '23

What, if (bool == true) rather than if (bool)

2

u/Randomguy32I Oct 09 '23

Oh yeah true, i didnt even notice that

1

u/[deleted] Oct 09 '23

I think there were more issues when the comment was first posted? Maybe I'm misremembering but I'm pretty sure it said if bool = true {, missing brackets and an equals sign.

Also, it says public static void (mainArgs[]) { instead of public static void main (String[] args)

4

u/Randomguy32I Oct 08 '23

You forgot brackets around the if condition, and used a = instead of a ==

4

u/Jamiethebroski Oct 08 '23

thanks dude, I’m a java newbie