Re:Nim Programming Language 0.11.0 released
by rbehrends on Thursday April 30, 2015 @09:44PM
(#9468886)
I'm really not sure what the point of referencing Rust is. This was about programming languages in general, and the post I was referring to was about C#. Also, importing is an example, another example would be accidentally declaring a second variable in the same module (should not happen, but people make errors), or a number of other situations where two identifiers that are identical except for case end up in the same scope.
I'm referencing Rust because I'm working on a Rust project right now. I don't even know C#.
Here's how you declare a binding:
let signOn;
let signon;
I seriously hope you don't declare both of these in the same scope
I would see
clearly, if I have to import this in my own file I should be VERY careful about those two functionsor rather, I'd import from foo, but I'd use the namespaced version from bar
so `signon` would be `foo::signon`, but `bar::signOn` would be written out fully to avoid this kind of clash