User Tools

Site Tools


drafts:mixin_duck_interface

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

drafts:mixin_duck_interface [2025/12/31 16:26] – created gauntreclusedrafts:mixin_duck_interface [2025/12/31 16:29] (current) gauntrecluse
Line 84: Line 84:
 </code> </code>
  
-==== Using the Duck Interface ====+==== Using the Interface ====
  
 The compiler will allow us to cast instances of the ''Zombie'' class to our interface without causing issues, and since the interface will be implemented by Mixin at runtime, it won't cause issues at runtime either: The compiler will allow us to cast instances of the ''Zombie'' class to our interface without causing issues, and since the interface will be implemented by Mixin at runtime, it won't cause issues at runtime either:
drafts/mixin_duck_interface.txt · Last modified: 2025/12/31 16:29 by gauntrecluse