# Postfix if
      count += 1 if increment`
    
    
    Run

I was not aware of that term, but I used it for some years in Ruby.

And actually it is very nice in rare situations. In German language, we say 
"ruf mich mal an, wenn du etwas Zeit hast", or "besuch mich mal wieder, wenn du 
in der Stadt bist." Makes a lot of sense, and my feeling is that for short and 
simple constructs, that notation is easier to comprehend. It looks nice without 
a colon and on only one line, while the one line statement "if increment: count 
+=1 " looks not really nice. I miss this construct a bit more than the "unless" 
from Ruby. Well, now I remember, when I came to Nim in 2014 I have asked for 
tab support, for postfix if and for unless keyword. Maybe that is why some 
people hate me so much :-)

Reply via email to