Well thats kinda the reason for (? syntax.. Its for returning values..

say you have a text box:

textbox = "state of variable = " + (y > 5?"good":"bad")

So its only for quick return statements is why you use it.