News for hackers. Stuff that matters.
Re:Fixing C by kbart on Friday April 15, 2016 @03:55AM (#11502848)
That's why it's a good practice to comment closing curly braces for the long blocks:

    while (1)
    {
        < many lines of nested code >
    } // end of while
Re:Fixing C by possibility on Friday April 15, 2016 @04:07AM (#11502883)
But before you do that, try pulling out functions.
Re:Fixing C by kbart on Friday April 15, 2016 @05:47AM (#11503156)
Of course, but in embedded applications fairly large loops are common. It's not uncommon to see all code embedded inside a single while (1).