News for hackers. Stuff that matters.
Re:Nim in 2018: A short recap by Tiberium on Thursday January 10, 2019 @03:40AM (#18872424)
Just use `from os import nil` and you'll be only able to use that module with "os" prefix.
Re:Nim in 2018: A short recap by Symmetry on Thursday January 10, 2019 @10:58AM (#18874758)
You can follow that convention and it works but you could also just have the convention of always using os.existsFile. Again, if you follow sensible rules when using Nim you're fine and the compiler will protect from mistakes better than most compiled languages. It's just laziness and cleverness that are dangers :)