Posted by: Richard Chennault | June 16, 2008

GOTO Facebook

Favourite quote of the day,

“If your program needs goto (especially in C++) the design is screwed.”  –Erunno

Thanks Faceboo for  lowering my respect for your platform.   I’ll be the first to admit I am a bad programmer, so bad I had to become a enterprise architect to avoid programming.  Seriosly though, even I know that goto statements went out with Basic.  I think the last time I wrote a GOTO statement was on a ATARI 400.   Yeah, that was about 1982.

Oh well back to trying to compile Facebook open platform on Ubuntu 8.04

Offending code: fbml.cpp

1230 size_t length = js_len;
1231 jschar *chars = js_InflateString(cx, js, &length);
1232 if (!chars) goto exit;

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Categories

%d bloggers like this: