|
|
|
|
|
by badminton1
3400 days ago
|
|
In flowchart decision points, it's clearer to make "yes" co-linear and "no" orthogonal. Likewise I prefer to structure cyclomatic complexity like this by doing something like if not <condition 1>
return
else if not <condition 2>
return
<logic>
Rather than if <condition1>
if <condition2>
if <condition 3>
...
|
|
This coding style is standard practice for Win32 API development.