I was just coding up an object that theoretically should have about 50 fields
with well-defined initial values. Then, I found out that Nim does not support
initial values for type (object) fields, e.g.,
type
Foo = object
a: float = 11.0 # Error
b: float = 0.001 # Error
...
...
Run
With 50 fields, I would have to list these in the `type` and then write a
`proc` to initialise all 50 fields again.
I am fine if this is a deliberate philosophical stance in Nim but I was just
wondering what the technical reasons are for it.