Electric to [email protected] • 10 months agomood = ruleimagemessage-square26arrow-up1169arrow-down12
minus-square@[email protected]linkfedilink6•10 months agoIs this a prompt to bypass a restriction that gpt claims to not be able to use emojis?
minus-squareElectricOPlink1•10 months agoNo, it’s an exercise in Swift showcasing how emojis are valid code.
minus-square@[email protected]linkfedilink6•edit-210 months agoBut this is using string output, of course it will work. Define your variables as emoji. let 😅 = 3
minus-squareElectricOPlink2•10 months agoGood point. That’s still valid as far as I’m aware, was one of the first things the professor pointed out.
minus-squareElectricOPlink1•10 months agoI 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.
Is this a prompt to bypass a restriction that gpt claims to not be able to use emojis?
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.