News for hackers. Stuff that matters.
Re:Kids who spot bullshit, and the adults who get upset abou... by carbocation on Saturday June 04, 2011 @02:20PM (#2620079)
Since this is someone you know and not you, can you at least share what condition this was? If it's something truly rare in the place you live (say, tropical sprue) then it may be a difficult diagnosis that gets misdiagnosed as something more common because of the following approximation:

  var i = 0;
  while(patient==ill){
    if(hoofbeats){
       if(i<20){
         return horses;
       }else{
         return `hunt zebras`
       }
       i++;
    }
  }
Re:Kids who spot bullshit, and the adults who get upset abou... by gaius on Monday June 06, 2011 @11:18AM (#2624984)
Looks like you're returning an enum on one branch there, and a string on the other.
Re:Kids who spot bullshit, and the adults who get upset abou... by carbocation on Monday June 06, 2011 @11:58AM (#2625134)
What do you expect from someone who writes PHP? O_o