Mirror of
forum.nim-lang.org
index
13260 :: RootRef Manual Entry?
[2025-07-27T06:39:53+02:00]
View Orginal
Hallicon
(orginal)
[2025-07-27T06:39:53+02:00]
view original
Maybe we can add RootRef into the official manual? it would be helpful to know it exists. As I understand it,
RootRef
and
EootObj
are related to inheritance. And I know OOP isn't generally encouraged in Nim, but it's still worth knowing about.
Araq
(orginal)
[2025-07-27T10:09:34+02:00]
view original
Well it does say
One can use the
inheritable
pragma to introduce new object roots apart from
system.RootObj
.