Hover Text:

I wrote 20 short programs in Python yesterday. It was wonderful. Perl, I’m leaving you.

Transcript

[A Cueball-like friend is talking to Cueball, who is floating in the sky.]
Friend: You’re flying! How?
Cueball: Python!
Cueball: I learned it last night! Everything is so simple!
Cueball: Hello world is just print “Hello, World!”
Friend: I dunno… Dynamic typing? Whitespace?
Cueball: Come join us! Programming is fun again! It’s a whole new world up here!
Friend: But how are you flying?
Cueball: I just typed ‘import antigravity’
Friend: That’s it?
Cueball: …I also sampled everything in the medicine cabinet for comparison.
Cueball: But I think this is the python.

  • @[email protected]
    link
    fedilink
    18
    edit-2
    8 months ago

    Just wait until you accidently have something unindented that wasn’t supposed to be. Those are fun bugs to troubleshoot

    • RedSeries
      link
      fedilink
      English
      108 months ago

      Just wait until you accidently have something unindented that wasn’t supposed to be forget one semicolon. Those are fun bugs to troubleshoot

      FTFY.

      • @[email protected]
        link
        fedilink
        118 months ago

        That will cause a compilation error 99.999% of the time and point you to the exact location where the problem is.

        • @[email protected]
          link
          fedilink
          English
          38 months ago

          Back when I regularly used Java for Minecraft mods n shit id get shit like

          missing expected ; at line 68

          Then I’d go to line 68 in the editor and it and the 5 on either side of it are allllllll blank. Wonderfully helpful!

          • @[email protected]
            link
            fedilink
            6
            edit-2
            8 months ago
            Compilation error (line 3, col 18): ; expected
            Compilation error (line 3, col 18): Unexpected character ';'
            

            edit: fuck that formatting

      • @[email protected]
        link
        fedilink
        English
        78 months ago

        Yes, but people feel threatened by good programming languages instead of just learning them.

        • @[email protected]
          link
          fedilink
          28 months ago

          There aren’t good languages and bad languages, there are better tools for a particular job and worse.

          • @[email protected]
            link
            fedilink
            68 months ago

            Javascript is widely regarded as a bad programming language even though for many use cases it is the best tool for the job.

  • @[email protected]
    link
    fedilink
    English
    88 months ago

    If you try out the import antigravity in this comic, you’ll be linked back to the comic. XKCD is built into the language itself.