| ▲ | messe 3 hours ago | |||||||
> even Zig has methods and interfaces Zig doesn't have interfaces as a language level feature. It uses manually implemented vtables and wrapper methods. You can do the same in Odin with wrapper functions around a vtable. | ||||||||
| ▲ | leecommamichael 3 hours ago | parent [-] | |||||||
There's even syntax-sugar for it in Odin with the `->` operator. | ||||||||
| ||||||||