The closest expression equivalent of elif is nested if statements. It's not quite as elegant and must include a final else (unlike Python scripts):
// Start with an if.
if(condition, 1,
// Nest if to get equivalent of elif.
if(condition, 2,
// With expressions you always have an else value at the end.
0
)
)
In most cases, binEnum would be an elegant replacement for the above nested ifs. See examples in the other thread you posted in.
The switch expression isn't a viable replacement for elif unless you're using elif to evaluate different values of a single condition.