Electric@lemmy.world to 196@lemmy.blahaj.zone · 11 months agomood = rulelemmy.worldimagemessage-square26fedilinkarrow-up1166arrow-down10
arrow-up1166arrow-down1imagemood = rulelemmy.worldElectric@lemmy.world to 196@lemmy.blahaj.zone · 11 months agomessage-square26fedilink
minus-squareInFerNo@lemmy.mllinkfedilinkarrow-up6·11 months agoIs this a prompt to bypass a restriction that gpt claims to not be able to use emojis?
minus-squareElectric@lemmy.worldOPlinkfedilinkarrow-up1·11 months agoNo, it’s an exercise in Swift showcasing how emojis are valid code.
minus-squareInFerNo@lemmy.mllinkfedilinkarrow-up6·edit-211 months agoBut this is using string output, of course it will work. Define your variables as emoji. let 😅 = 3
minus-squareElectric@lemmy.worldOPlinkfedilinkarrow-up2·11 months agoGood point. That’s still valid as far as I’m aware, was one of the first things the professor pointed out.
minus-squareCashewNut 🏴@lemmy.worldlinkfedilinkarrow-up3·11 months ago Swift Nasty language for Apple-degenerates.
minus-squareElectric@lemmy.worldOPlinkfedilinkarrow-up1·11 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.