in reply to
Re: How Much Is Too Much (on one line of code)?
in thread How Much Is Too Much (on one line of code)?
I'm very much in the "that's too much" camp. I first read the code, thinking through the ternary operator that perhaps it wasn't the best way to write that, and then my thought process came to a screeching halt when I reached the statement modifier. As pointed out by a couple of wise monks, an assignment statement which must be read right to left and then left to right is just confusing.
Of course, it's also trying to pack more than one business rule in the same expression -- something else that is also asking for bugs.