type Foo = object f1: int f2: SugarObject # ← f2: F2 ↑ `type F2 = object …` f3: int f4: SugarObject f5: int Run
One of the strongest Nim's points is readability. This _optional_ sugar would be much easier to read and maintain than a `type` ladder. Simple ladders are ok, but when to `type` long nested APIs… they waste one's IQ points for no reason.