Hacker News new | past | comments | ask | show | jobs | submit login

A much better solution is to have a language-wide style guide, with a tool such as "go fmt" to enforce it.



Interop with C/JS: you can't control all identifiers, because you can reuse a rich ecosystem of other language libs: you can't force their names to change

EDIT: you can still change them in importc pragmas, but this still seems less nice to me.

Still, you can reuse Nim libs even if they don't follow nep1: one can still use nimpretty/gofmt for his own codebase.




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

Search: