Skip to main content
added 1 character in body
Source Link

Inspired by his previous discovery, the lazy software engineer decided to look for more interesting snippets in his company's code repository. After searching for a while, he found this one:

int main()
{
    int have = 1;
    int eat = 1;
    
    bool can = true;
    
    if (have && eat)
    {
        can = false;
    }
}

After failing again to extract any meaning from this snippet, the lazy software engineer headsheaded over to Puzzling.SE to try and figure out a solution.

What famous idiom does this code snippet represent?

Inspired by his previous discovery, the lazy software engineer decided to look for more interesting snippets in his company's code repository. After searching for a while, he found this one:

int main()
{
    int have = 1;
    int eat = 1;
    
    bool can = true;
    
    if (have && eat)
    {
        can = false;
    }
}

After failing again to extract any meaning from this snippet, the lazy software engineer heads over to Puzzling.SE to try and figure out a solution.

What famous idiom does this code snippet represent?

Inspired by his previous discovery, the lazy software engineer decided to look for more interesting snippets in his company's code repository. After searching for a while, he found this one:

int main()
{
    int have = 1;
    int eat = 1;
    
    bool can = true;
    
    if (have && eat)
    {
        can = false;
    }
}

After failing again to extract any meaning from this snippet, the lazy software engineer headed over to Puzzling.SE to try and figure out a solution.

What famous idiom does this code snippet represent?

Source Link

What Famous Idiom Does This Small Code Snippet Represent?

Inspired by his previous discovery, the lazy software engineer decided to look for more interesting snippets in his company's code repository. After searching for a while, he found this one:

int main()
{
    int have = 1;
    int eat = 1;
    
    bool can = true;
    
    if (have && eat)
    {
        can = false;
    }
}

After failing again to extract any meaning from this snippet, the lazy software engineer heads over to Puzzling.SE to try and figure out a solution.

What famous idiom does this code snippet represent?