Stack Overflow is pretty amazing

January 8, 2010

So I was plodding along in my quest to learn Objective-C, and I ran into a compile error that I just didn’t understand. My code looked something like this:

switch(foo) {
   case bar:
        NSString *message = @"Hello there.";

which yielded a compiler error like this:

unexpected interface name 'NSString': expected expression
             NSString *message = @Hello there.";

To a Java programmer, there doesn’t look to be anything wrong. But Objective-C, birthed from C, is a different beast. My first inclination was to fire up Google, and pose the first question that came to my mind:

And here were the results I was given:

The first result was the same question I was asking, with an answer on Stack Overflow!

Stack Overflow went into public beta in September of 2008 (I got the answer for this question by asking “how old is stackoverflow” on Meta Stack Overflow) — that’s not very long ago. What a game changer (not to mention a time saver) Stack Overflow has become.

6 Responses to “Stack Overflow is pretty amazing”

  1. Harry Says:

    Yep, it’s amazing how knowledgeable and helpful the people on Stack Overflow are.

  2. That is the main reason why I like contributing to such an awesome website. :)

  3. roland Says:

    Indeed, stackoverflow is the next big thing. It’s probably the most valuable single source when nothing else could be found on the net. StackOverflow is ‘Expert Exchange’ done right.

    OT: How did you create the decorations of your screenshots ? They look very polished …

  4. Mark McLaren Says:

    “StackOverflow is ‘Expert Exchange’ done right.”

    I agree. Also interesting that Google gives the best result first, while Bing’s top entry is the generic Wikipedia Objective C page.

  5. bob Says:

    switch (foo)
    case 1:
    int myvar = 1;

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your 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

%d bloggers like this: