I'm honestly not following the reasoning here. Unlike C, Nim by default does not expose the members of a record type. So, in order to have information hiding, I would simply not make them externally visible. You can't do that in C, because as soon as you include a typedef for a struct there, you also get access to the members (because C doesn't have the equivalent of `private` or `protected` that C++ offers).
- How To - Proper Interfacing In Nim ivanitto
- Re: How To - Proper Interfacing In Nim Varriount
- Re: How To - Proper Interfacing In Nim pwernersbach
- Re: How To - Proper Interfacing In Nim ivanitto
- Re: How To - Proper Interfacing In Nim Stefan_Salewski
- Re: How To - Proper Interfacing In N... gokr
- Re: How To - Proper Interfacing ... Jehan
- Re: How To - Proper Interfac... ivanitto
- Re: How To - Proper Interfac... mashingan
- Re: How To - Proper Interfac... gokr