2023-06-14 10:47:35 +02:00
|
|
|
Nested ternaries are hard to read and can make the order of operations complex to understand.
|
2020-06-30 12:48:39 +02:00
|
|
|
|
2023-06-14 10:47:35 +02:00
|
|
|
include::{noncompliant}[]
|
2021-02-02 15:02:10 +01:00
|
|
|
|
2023-06-14 10:47:35 +02:00
|
|
|
Instead, use another line to express the nested operation in a separate statement.
|
|
|
|
|
|
|
|
include::{compliant}[]
|