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