• janAkali@lemmy.one
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 months ago

    Meanwhile Nim:

    echo "I am still worthy"
    
    let a = r"I hate the ugly '\' at the end of " &
             "multiline statements"
    
    for x in 0..9:
      if x == 6: echo x
    
    echo x # this is error in Nim, but not in python. Insane!
    
    assert false + 1 # this is an error (python devs in shambles)
    assert true - 1 # see above
    

    Thanks for coming to my Ted-talk.
    More here: Nim for Python Programmers