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. treefo+fnc
[view]
[source]
2025-12-05 16:15:56
>>kbd+4Hb
Nim imports are great. I would hate to qualify everything. It feels so bureaucratic when going back to other languages. They never cause me issues and largely transparent. Best feature.
[go to top]