My opinion is that OOP in Nim is necessary in a very specific case:

  * For a library, when you need to build a heterogeneous collection of objects 
with types that can be user defined.



Anywhere else I actively try to avoid it.

And for naive getter and setter, you can just make the fields public. They are 
useful only if input must be validated or update is not trivial (like for the 
times module).

Reply via email to