> So you are probably right in that it maybe should be emphesized that it is a 
> systems programming language made for professionals.

That would be wrong. Nim is harder to use than say Ruby not because Nim is more 
complicated. But because there's **not enough attention paid to keep its simple 
and uniform**. And some rough edges that going to be polished with the time.

Like example with iterators, the code below won't work. It's not working not 
because Nim is complicated, but because it's inconsistent.
    
    
    import tables, sugar
    
    let keys = {1: "one", 2: "two"}.to_table.keys
    
    
    Run

Or try this. Again the case is trivial, but it's not working. It's not because 
of some inherent complexity of compiled language, but just because of 
inconsistency.
    
    
    import strformat
    
    echo fmt"if 1 < 2: 1 else: 2"
    
    
    Run

And there are lots of such cases in Nim.

Ruby (I don't know Python, but I guess it's the same) and other "scripting" 
languages simpler to use not because they are simpler, but because they pay 
attention to universal and uniform usage and avoiding special cases surprising 
users.

Reply via email to