Is this conditional form useful in programming and if it is what it’s application and is their a better way to write the same statement with out splitting it.