|
|
|
|
|
by rudasn
4995 days ago
|
|
Is there a particular reason you are using Hawk.def and Hawk.gen instead of something more "traditional" like Bird = Hawk.create(...)
falcon = new Bird(...)
How do you deal with inheritance? falcon insteanceof Bird; // => is it true?
If bird had mixins would falcon be an instanceof those as well? |
|
As for instance of, It's something I overlooked in testing, so I'm going to check that now, but my guess is that without mixing it should pass, but with it would fail because of the way I'm just pointing to function references.
Be back in a few with result, thanks for the feedback.