• luciferofastora@feddit.org
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    4 hours ago

    Naming

    Both variables and constants can be named with any Unicode character or string.

    const const letter = 'A'!
    var const 👍 = True!
    var var 1️⃣ = 1!
    

    This includes numbers, and other language constructs.

    const const 5 = 4!
    print(2 + 2 === 5)! //true
    

    This is a recipe for disaster I kinda wanna try