Re:Advent of Nim
by joelthelion on Thursday November 29, 2018 @08:47AM
(#18560092)
A much better solution is to have a language-wide style guide, with a tool such as "go fmt" to enforce it.
Re:Advent of Nim
by alehander42 on Thursday November 29, 2018 @08:55AM
(#18560125)
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.
I've seen people write wrappers just to fix casing.