Cipherd@lemmy.ml to Programmer Humor@programming.dev · 2 months agofunctionslemmy.mlimagemessage-square117fedilinkarrow-up1602arrow-down19file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1593arrow-down1imagefunctionslemmy.mlCipherd@lemmy.ml to Programmer Humor@programming.dev · 2 months agomessage-square117fedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squareluciferofastora@feddit.orglinkfedilinkarrow-up6·edit-22 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
This is a recipe for disaster I kinda wanna try