Click here to Skip to main content
15,914,400 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
GeneralRe: Is goto still considered harmful? Pin
Member 1023287211-Mar-14 19:17
Member 1023287211-Mar-14 19:17 
GeneralRe: Is goto still considered harmful? Pin
irneb11-Mar-14 20:25
irneb11-Mar-14 20:25 
GeneralRe: Is goto still considered harmful? Pin
Rob Grainger12-Mar-14 1:07
Rob Grainger12-Mar-14 1:07 
GeneralRe: Is goto still considered harmful? Pin
TheGreatAndPowerfulOz11-Mar-14 19:15
TheGreatAndPowerfulOz11-Mar-14 19:15 
GeneralRe: Is goto still considered harmful? Pin
Bassam Abdul-Baki12-Mar-14 3:26
professionalBassam Abdul-Baki12-Mar-14 3:26 
GeneralRe: Is goto still considered harmful? Pin
harold aptroot12-Mar-14 3:46
harold aptroot12-Mar-14 3:46 
GeneralRe: Is goto still considered harmful? Pin
Bassam Abdul-Baki12-Mar-14 3:58
professionalBassam Abdul-Baki12-Mar-14 3:58 
GeneralRe: Is goto still considered harmful? Pin
Dan Neely12-Mar-14 3:47
Dan Neely12-Mar-14 3:47 
Does this make it clearer?

C
if ((err = SSLFreeBuffer(&hashCtx)) != 0)
{
    goto fail;
}
if ((err = ReadyHash(&SSLHashSHA1, &hashCtx)) != 0) 
{
    goto fail;
}
if ((err = SSLHashSHA1.update(&hashCtx, &clientRandom)) != 0)
{
    goto fail;
}
if ((err = SSLHashSHA1.update(&hashCtx, &serverRandom)) != 0)
{
    goto fail;
}
if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0)
{
    goto fail;
}
goto fail;  // this goto is called every time because it's not controlled by the if above.
if ((err = SSLHashSHA1.final(&hashCtx, &hashOut)) != 0)
{
    goto fail;
}

Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius

Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt

GeneralRe: Is goto still considered harmful? Pin
Bassam Abdul-Baki12-Mar-14 4:00
professionalBassam Abdul-Baki12-Mar-14 4:00 
GeneralRe: Is goto still considered harmful? Pin
mikepwilson12-Mar-14 9:49
mikepwilson12-Mar-14 9:49 
GeneralRe: Is goto still considered harmful? Pin
Eddy Vluggen12-Mar-14 9:58
professionalEddy Vluggen12-Mar-14 9:58 
GeneralRe: Is goto still considered harmful? Pin
Richard Andrew x6412-Mar-14 15:54
professionalRichard Andrew x6412-Mar-14 15:54 
GeneralRe: Is goto still considered harmful? Pin
Rob Grainger12-Mar-14 23:42
Rob Grainger12-Mar-14 23:42 
GeneralRe: Is goto still considered harmful? Pin
Eddy Vluggen13-Mar-14 1:30
professionalEddy Vluggen13-Mar-14 1:30 
GeneralRe: Is goto still considered harmful? Pin
Rob Grainger13-Mar-14 3:12
Rob Grainger13-Mar-14 3:12 
GeneralRe: Is goto still considered harmful? Pin
Eddy Vluggen13-Mar-14 6:08
professionalEddy Vluggen13-Mar-14 6:08 
NewsTim Berners-Lee: 25 years on, the Web still needs work (Q&A) Pin
Kent Sharkey11-Mar-14 14:42
staffKent Sharkey11-Mar-14 14:42 
News5 predictions for the Web that were WAY off Pin
Kent Sharkey11-Mar-14 12:32
staffKent Sharkey11-Mar-14 12:32 
NewsValve open-sources its DirectX to OpenGL translation software: Here come the SteamOS and Linux games? Pin
Kent Sharkey11-Mar-14 12:14
staffKent Sharkey11-Mar-14 12:14 
NewsMother sues Google over kids’ apps after 5-year-old son buys $65 worth of virtual currency Pin
Kent Sharkey11-Mar-14 11:23
staffKent Sharkey11-Mar-14 11:23 
GeneralRe: Mother sues Google over kids’ apps after 5-year-old son buys $65 worth of virtual currency Pin
Pete O'Hanlon11-Mar-14 11:27
mvePete O'Hanlon11-Mar-14 11:27 
GeneralRe: Mother sues Google over kids’ apps after 5-year-old son buys $65 worth of virtual currency PinPopular
FIorian Schneidereit11-Mar-14 12:06
FIorian Schneidereit11-Mar-14 12:06 
GeneralRe: Mother sues Google over kids’ apps after 5-year-old son buys $65 worth of virtual currency Pin
Kent Sharkey11-Mar-14 12:07
staffKent Sharkey11-Mar-14 12:07 
GeneralRe: Mother sues Google over kids’ apps after 5-year-old son buys $65 worth of virtual currency Pin
Mike Hankey11-Mar-14 12:35
mveMike Hankey11-Mar-14 12:35 
GeneralMessage Removed Pin
12-Mar-14 10:07
professionalN_tro_P12-Mar-14 10:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.