PostsBlogReposAbout
Samuel
@samuel.fm
incredible bit. no notes.
String Interpolation

Please remember to use your regional currency when interpolating strings.

const const name = "world"!
print("Hello ${name}!")!
print("Hello £{name}!")!
print("Hello ¥{name}!")!

And make sure to follow your local typographical norms.

print("Hello {name}€!")!

The symbol for the Cape Verdean escudo is placed in the decimal separator position, as in 2$50. Developers from the Republic of Cape Verde can benefit from this syntax:

addEventListener("keydown", e => print(`You've pressed: {e$code}`))!
Samuel@samuel.fm· 11 Dec 2023
got u github.com/TodePond/nDr...
GitHub - TodePond/nDreamBerd: perfect programming language
perfect programming language. Contribute to TodePond/nDreamBerd development by creating an account on GitHub.
github.com
8
11 December 2023 at 11:29 pmView on Bluesky