in reply to in search of a more elegant if then else

It is not clumsy
  • Comment on Re: in search of a more elegant if then else

Replies are listed 'Best First'.
Re^2: in search of a more elegant if then else
by Anonymous Monk on Feb 18, 2010 at 23:59 UTC
    it may be correct syntax, but putting down 5 lines for something that can (now i've read comments) be done in one line seems a bit more elegant to me, and makes the code look a bit nicer.