Click here to Skip to main content
14,606,277 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: I don't understand... Pin
#realJSOP4-Apr-16 6:49
mva#realJSOP4-Apr-16 6:49 
JokeRe: I don't understand... Pin
phil.o4-Apr-16 6:52
mvephil.o4-Apr-16 6:52 
GeneralRe: I don't understand... Pin
Mark_Wallace4-Apr-16 7:00
MemberMark_Wallace4-Apr-16 7:00 
GeneralRe: I don't understand... Pin
#realJSOP4-Apr-16 7:02
mva#realJSOP4-Apr-16 7:02 
GeneralRe: I don't understand... Pin
Mark_Wallace4-Apr-16 7:13
MemberMark_Wallace4-Apr-16 7:13 
GeneralRe: I don't understand... Pin
KarstenK4-Apr-16 7:28
mveKarstenK4-Apr-16 7:28 
GeneralRe: I don't understand... Pin
Super Lloyd4-Apr-16 18:01
MemberSuper Lloyd4-Apr-16 18:01 
GeneralRe: I don't understand... Pin
OriginalGriff4-Apr-16 8:03
mveOriginalGriff4-Apr-16 8:03 
You clearly aren't spending long enough in QA - you missed the obvious recursion:
private List<Produce> shopping = new List<Produce>();
public void GetMilk(int count)
    {
    while (count > 0)
        {
        shopping.Add(new Milk());
        if (shop.HasEggs()) GetMilk(6);
        count--;
        }
    }

Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

GeneralRe: I don't understand... Pin
Deflinek4-Apr-16 8:08
MemberDeflinek4-Apr-16 8:08 
GeneralRe: I don't understand... Pin
snorkie4-Apr-16 8:30
professionalsnorkie4-Apr-16 8:30 
GeneralRe: I don't understand... Pin
90823654-Apr-16 8:46
Member90823654-Apr-16 8:46 
GeneralRe: I don't understand... Pin
Johnny J.4-Apr-16 20:57
professionalJohnny J.4-Apr-16 20:57 
GeneralRe: I don't understand... Pin
90823654-Apr-16 23:55
Member90823654-Apr-16 23:55 
GeneralRe: I don't understand... Pin
Sander Rossel4-Apr-16 9:01
professionalSander Rossel4-Apr-16 9:01 
GeneralRe: I don't understand... Pin
PompeyThree4-Apr-16 11:30
MemberPompeyThree4-Apr-16 11:30 
GeneralRe: I don't understand... Pin
Johnny J.4-Apr-16 20:55
professionalJohnny J.4-Apr-16 20:55 
GeneralY'all should ... Pin
peterchen4-Apr-16 6:20
Memberpeterchen4-Apr-16 6:20 
JokeRe: Y'all should ... Pin
Afzaal Ahmad Zeeshan4-Apr-16 6:28
mvaAfzaal Ahmad Zeeshan4-Apr-16 6:28 
GeneralRe: Y'all should ... Pin
Mark_Wallace4-Apr-16 7:30
MemberMark_Wallace4-Apr-16 7:30 
GeneralRe: Y'all should ... Pin
#realJSOP4-Apr-16 7:40
mva#realJSOP4-Apr-16 7:40 
GeneralRe: Y'all should ... Pin
Mark_Wallace4-Apr-16 7:41
MemberMark_Wallace4-Apr-16 7:41 
AnswerRe: Y'all should ... Pin
CBadger4-Apr-16 21:05
professionalCBadger4-Apr-16 21:05 
GeneralRe: Y'all should ... Pin
Mark_Wallace5-Apr-16 7:32
MemberMark_Wallace5-Apr-16 7:32 
GeneralRe: Y'all should ... Pin
CBadger5-Apr-16 19:05
professionalCBadger5-Apr-16 19:05 
GeneralRe: Y'all should ... Pin
90823654-Apr-16 8:47
Member90823654-Apr-16 8:47 

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.