+0

i like the single line ternary if its as simple as the example. but if the ternary contains any sort of logic (like concating strings or calling methods) then i think multiline is better. but that's too hard to follow, so i'm more down with just single line if it fits, otherwise multiline