647
functions (lemmy.ml)

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

you are viewing a single comment's thread
view the rest of the comments
[-] luciferofastora@feddit.org 8 points 5 days ago* (last edited 5 days 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 post was submitted on 22 Nov 2025
647 points (98.6% liked)

Programmer Humor

27534 readers
255 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS