79300004

Date: 2024-12-21 19:46:05
Score: 2
Natty:
Report link

Valid alternative with using no condition switch:

if condition {
    switch {
        case nestedCondition:
            // logic
        case otherNestedCondition:
            // logic
    }
}
if otherCondition {
    // logic
}
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nikita Alkhovik