DEV Community

Discussion on: Why I'm phasing out ternary statements

panditapan profile image

hugs her ugly monster ternary statements don't listen to him you're beautiful. /joke

I agree with you that they have a time and place, but I also love to use them <3 tho' I don't do it for readability or fewer code lines... I do them 'cause they look prettier.

I'm a simple girl sorry lol X3

Thanks for the article!

mcgurkadam profile image
Adam McGurk Author


Thanks for the laugh and thanks for reading!!!

(I do agree with you though...they bring a visual elegance to code that really can't be matched!!)