165
mood = rule (lemmy.world)
submitted 10 months ago by electric@lemmy.world to c/196@lemmy.blahaj.zone
you are viewing a single comment's thread
view the rest of the comments
[-] electric@lemmy.world 1 points 9 months ago

No, it's an exercise in Swift showcasing how emojis are valid code.

[-] InFerNo@lemmy.ml 6 points 9 months ago* (last edited 9 months ago)

But this is using string output, of course it will work. Define your variables as emoji.

let ๐Ÿ˜… = 3

[-] electric@lemmy.world 2 points 9 months ago

Good point. That's still valid as far as I'm aware, was one of the first things the professor pointed out.

[-] cashews_best_nut@lemmy.world 3 points 9 months ago

Swift

Nasty language for Apple-degenerates.

[-] electric@lemmy.world 1 points 9 months ago

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.

this post was submitted on 20 Jan 2024
165 points (100.0% liked)

196

16494 readers
2462 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS