Jump to content
  • Advertisement
Sign in to follow this  
randomguy123451

support for mixin

This topic is 2617 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
Mixin has got functionalities (functions) implemented, whereas interfaces do not have. It is a way around in groovy etc , which already support interfaces, but do not support multiple inheritance; even then through mixin many of such use cases are met.

but this mixin is such a thing, without which i can still live happily with the language. So not much worries on my part.

Share this post


Link to post
Share on other sites
Mix-ins are not supported yet. However it is an interesting feature that I would like to take a closer look at in the future.<br><br>It can be accomplished through pre-processing and macros, but the CScriptBuilder pre-processor is not that advanced yet.
Perhaps you can modify the CScriptBuilder to make it able to include code from other files 'inline' rather than as another script section. <br><br><br>

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!