Hover Text:
I wrote 20 short programs in Python yesterday. It was wonderful. Perl, I'm leaving you.
:::spoiler 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. :::

13 Comments
NocturnalMorning@lemmy.world · 17 pts · 2y
Just wait until you accidently have something unindented that wasn't supposed to be. Those are fun bugs to troubleshoot
RedSeries@lemmy.world · 10 pts · 2y
FTFY.
_cnt0@sh.itjust.works · 11 pts · 2y
That will cause a compilation error 99.999% of the time and point you to the exact location where the problem is.
gamermanh@lemmy.dbzer0.com · 3 pts · 2y
Back when I regularly used Java for Minecraft mods n shit id get shit like
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!
Scubus@sh.itjust.works · 5 pts · 2y
Well there's your problem, they're blank when they should be ;
elvith@feddit.de · -2 pts · 2y
Well, which of these lines causes a compilation error?
::: spoiler Spoiler The last one. It's not a semicolon but a Greek question mark... :::
_cnt0@sh.itjust.works · 6 pts · 2y
edit: fuck that formatting
Doorbook@lemmy.world · 8 pts · 2y
Wouldn't IDE ensure these things are looked after?
ysjet@lemmy.world · 7 pts · 2y
Yes, but people feel threatened by good programming languages instead of just learning them.
johannesvanderwhales@lemmy.world · 2 pts · 2y
There aren't good languages and bad languages, there are better tools for a particular job and worse.
YIj54yALOJxEsY20eU@lemm.ee · 6 pts · 2y
Javascript is widely regarded as a bad programming language even though for many use cases it is the best tool for the job.
DoomBot5@lemmy.world · 8 pts · 2y
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.
mot@lemmy.world · 5 pts · 2y
Open a Python REPL and type:
;)
bob_lemon@feddit.de · 1 pts · 2y