zlacker
[return to "Nimony (Nim 3.0) Design Principles"]
◧
1. kbd+4Hb
[view]
[source]
2025-12-05 13:01:54
>>andsoi+(OP)
The biggest thing I still don’t like about Nim is its imports:
import std/errorcodes proc p(x: int) {.raises.} = if x < 0: raise ErrorCode.RangeError use x
I can’t stand that there’s no direct connection between the thing you import and the names that wind up in your namespace.
◧◩
2. summar+6Kb
[view]
[source]
2025-12-05 13:19:50
>>kbd+4Hb
You are free to import nil and type the fully qualified name.
[go to top]