The content on this page is written in Chinese, and then traslated into English by machine. More accurate traslations are welcome at: https://github.com/wa-lang/man/tree/master/en

Ending's law: "Any application that can be compiled to WebAssembly, will be compiled to WebAssembly eventually."

7. Interface

Interface is the soul of the abstract ability of the language. Wa-lang codes that do not use interfaces are pure realism, but with interfaces, abstraction can be achieved through duck-type object-oriented code. This chapter describes the basic usage of interfaces.