IMO, unary operators are often best replaced by explicit names.

For eg: %* in 
[https://nim-lang.github.io/Nim/json.html#%25%2A.m%2Cuntyped](https://nim-lang.github.io/Nim/json.html#%25%2A.m%2Cuntyped)
 would be best replaced by toJson (and %* could become a deprecated alias to 
it):
    
    
    macro `%*`(x: untyped): untyped
    
    
    Run

Nim is not perl, the goal is not to minimize the number of characters we type 
at the expense of clarity (at least, minimizing the number of tokens we type is 
a better metric than minimizing the number of characters).

%* seems like a perfect example of operator abuse. 

Reply via email to