
Co-authored-by: Amélie Renard <44666826+amelie-renard-sonarsource@users.noreply.github.com>
8 lines
229 B
Plaintext
8 lines
229 B
Plaintext
Nested ternaries are hard to read and can make the order of operations complex to understand.
|
|
|
|
include::{noncompliant}[]
|
|
|
|
Instead, use another line to express the nested operation in a separate statement.
|
|
|
|
include::{compliant}[]
|