Compact if syntax