Prettier `--experimental-ternaries` feedback
In , prettier added support for the intended new behavior of nested ternaries. We would like your feedback on it before it ships as the default behavior later this year!

We developed this formatting after extremely extensive exploration and experimentation, in search of a solution that improved readability in as many situations as possible[1]. 

It is not commonly found in the wild, so we'd love for you to try this feature out for a little while and share your feedback!

[1] Most solutions are clearly better in some situations, but worse in others. 
For example, indenting nested ternaries becomes unusable at long lengths, which can be unavoidable in certain situations. 
Similarly, "case-style" looks beautiful for fizzbuzz and similar problems, but becomes unreadable in more complex scenarios.
Email *
For how long have you tried `--experimental-ternaries`? *
Have you tried this on a codebase at work? *
How likely would you be to recommend `--experimental-ternaries` to a friend? *
Not likely at all
Extremely likely
What do you like or dislike about it?
Please share links to samples of code (e.g., in a gist) that you LIKE 👍 with `--experimental-ternaries`
Please share links to samples of code (e.g., in a gist) that you DO NOT LIKE 👎 with `--experimental-ternaries`
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy