emojicode / emojicode

πŸ˜€πŸ˜œπŸ”‚ World’s only programming language that’s bursting with emojis

Home Page:https://emojicode.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New πŸ†• Syntax (Overloading)

thbwd opened this issue Β· comments

commented

⭐️ 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 ❗️