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.

  • RedSeries@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 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.

    • _cnt0@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      10 months ago

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

      • elvith@feddit.de
        link
        fedilink
        arrow-up
        0
        ·
        10 months ago

        Well, which of these lines causes a compilation error?

        String foo = "Nothing";
        foo += "to see";
        foo += "here";
        
        Spoiler

        The last one. It’s not a semicolon but a Greek question mark