News for hackers. Stuff that matters.
Re:Do I Really Need a Programming Language? by J_Darnley on Sunday December 29, 2013 @07:26AM (#6979368)
With C it can be more like what you want. Stop using ?: if you don't like it.

    if (price > 100)
        return 10;
    else
        return 5;
Replace with more named variables if you want.
Re:Do I Really Need a Programming Language? by the_af on Sunday December 29, 2013 @11:54AM (#6980160)
I'm going to guess wildgift was being sarcastic. COBOL syntax is so needlessly verbose it interferes with the understanding of the actual formula. I contend that

    return price > 100 ? 10 : 5; 
is way more readable.