Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

FWIW, Nim has various trade offs for you. It has an alternative comment syntax that goes like

    echo 1 #[ deactivated ]#, 2
While `from modA import nil` does exist, it is not very idiomatic. Idiomatic is more managing the global namespace with the type system/overload resolution which it sounds like you would hate. However, shadowing outer scope names with inner scope names (like your `str` example) *is* considered idiomatic.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: