New π Syntax (Overloading)
thbwd opened this issue Β· comments
βοΈ Proposed change
The upcoming Emojicode 1.0 beta will support overloading. Initializers will primarily be selected by overloading. Named initializers will be retained due to a) backwards-compatibility and b) enums. (#147)
Instantiation without a using an initializer name (creating an instance of π₯):
ππ₯ 80 βοΈ
using the named initializer π¨:
ππ₯βΆοΈπ¨ 80 βοΈ