Skip to content

Instantly share code, notes, and snippets.

@vincechang1015
Created August 29, 2017 07:28
很容易造成錯誤的程式碼
//what's difference between FunA() and FunB()?
void FunA(void)
{
if (condition_one)
if (condition_two)
foo();
else
bar();
}
void FunB(void)
{
if (condition_one)
if (condition_two)
foo();
else
bar();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment