- Joined
- Sep 19, 2011
- Messages
- 527
Hi pp, like the tittle says, are they really necessary?. I mean one can actually have the same functionality by using inheritance or even adding a delegate.
I was implementing them in vrJASS but this question came...
If I don't implement them, the language will be smaller (actually better, runs faster, less things to do, less syntax to remember).
Isn't this an excuse not to implement them you lazy bastard?, well of course it is <.<.
JASS:
struct SomeModule
public method sayHi takes nothing returns nothing
endmethod
endstruct
struct Foo
SomeModule module = SomeModule.create()
public method sayHi takes nothing returns nothing
call this.module.sayHi()
endmethod
endstruct
I was implementing them in vrJASS but this question came...
If I don't implement them, the language will be smaller (actually better, runs faster, less things to do, less syntax to remember).
Isn't this an excuse not to implement them you lazy bastard?, well of course it is <.<.