this post was submitted on 20 Jan 2024
167 points (100.0% liked)
196
16509 readers
2346 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
No, it's an exercise in Swift showcasing how emojis are valid code.
But this is using string output, of course it will work. Define your variables as emoji.
let ๐ = 3
Good point. That's still valid as far as I'm aware, was one of the first things the professor pointed out.
Nasty language for Apple-degenerates.
I don't disagree. Apple's funding the classes and there is a ton of demand for Swift devs.
To my surprise though, loving the language. Doesn't waste my time with semi colons and encourages readability. Shame it's stuck to Apple.