cross-posted from: https://lemmy.ml/post/39334581

you are viewing a single comment's thread
view the rest of the comments
[–] 9 points 9 months ago* (last edited 9 months 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

  • source
  • parent