Hello,
I am quite new to nim language and started to develop a graphic app in web
(using canvas / webgl).
I know nim is not OOP based but I still tried to achieve OOP using 'method'.
But when I use two arguments using 'method' it does not work..
Am I wrong ? Or would there be better ways to im
See the Nin manual, section
[https://nim-lang.org/docs/manual.html#multiminusmethods](https://nim-lang.org/docs/manual.html#multiminusmethods)
Note: Starting from Nim 0.20, to use multi-methods one must explicitly pass
--multimethods:on when compiling.
Also note that traditional OOP languages do not have multiple dispatch so what
you are trying would not be possible in C++ or Java.
Thank you very much!