• InFerNo
    link
    fedilink
    arrow-up
    6
    ·
    10 months ago

    Is this a prompt to bypass a restriction that gpt claims to not be able to use emojis?

      • InFerNo
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        10 months ago

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

        let 😅 = 3

        • Electric@lemmy.worldOP
          link
          fedilink
          arrow-up
          2
          ·
          10 months ago

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

        • Electric@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          10 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.