5

I found another gem:

if (SOMETHING == SOME_VALUE)
{
french = false;
english = false;
}

Comments
  • 6
    I don't understand how this is bad without knowing the surrounding code.
  • 2
    More like

    if(settings.language.spanish == true){
    settings.language.french = false;
    settings.language.english = false;
    }
  • 4
    @Codex404 There is a short way:

    french = english = SOMETHING != SOME_VALUE
  • 3
    @Logar314159 not in any language and I'm not sure if I like it, it looks messy.
Add Comment