LOL… You Make My Day!! ![]()
Do not do this:
Example1: (Recursive)
void MyFunction()
{
MyFunction();
}
Example2: (while → No exit condition)
while(true)
{
}
Example3: (for → wrong limits)
for(int i=0; i>-1; i++)
{
}
Example4: (goto → No exit condition) → same as stream flow in blueprints
void MyFunction()
{
label:
goto label;
}
Using GoTo is very bad pactice… if you use goto probably you have a bad desing
