re: What do you think about the ternary operator? VIEW POST

FULL DISCUSSION
 

I like ternaries very much. Sometimes when options are longer i go with folowing formating:

$foo = $isFooConsideredBar
    ? $fooIsIndeedConsideredBar
    : $fooIsNoWayCknsideredBar
;
code of conduct - report abuse