[Solved] Is this the most elegant/safe/recommended solution for this situation?


Is there another solution for this situation without using braces?

That is the wrong question. The real question is: is there ever a reason to NOT use braces? NO. Just use braces. Your colleagues, and future-you, will thank you later.

1

solved Is this the most elegant/safe/recommended solution for this situation?