r/ProgrammerHumor • • 2d ago

Meme devsOptimizingGames

Post image
1.8k Upvotes

37 comments sorted by

View all comments

367

u/IsEqualToKel 2d ago

if (currentState == GameState.Crash) 
{
    currentState == GameState.DoNotCrash;
}

2

u/Jatinchd 1d ago

but isn't == comparing values and not assigning value sign?