Largely opinion based: Limit one liner use to only analogues of C's '?' operator.
So, let permission_granted = someproc(p1) # ... let foo = if permission_granted != 0: "allowed" else: "denied" Similarly one might argue C's one statement rule for loops but I'd advise to always properly indent loop constructs. Reason/reminder: Readability. It is known from many studies that (non) readability is a very major factor in code quality, particularly when considering maintenance. After all Araq has created Nim in a way to allow for (or even provoke) good readability for a reason.
