this post was submitted on 31 Jan 2024
234 points (98.3% liked)

Comics

462 readers
1 users here now

A community for sharing comics related to programming

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 11 months ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 10 months ago (1 children)

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] 11 points 10 months ago (2 children)

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

[–] [email protected] 3 points 10 months ago (1 children)

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] 5 points 10 months ago

Well there's your problem, they're blank when they should be ;

[–] [email protected] -2 points 10 months ago (1 children)

Well, which of these lines causes a compilation error?

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

SpoilerThe last one. It's not a semicolon but a Greek question mark...

[–] [email protected] 6 points 10 months ago* (last edited 10 months ago)
Compilation error (line 3, col 18): ; expected
Compilation error (line 3, col 18): Unexpected character ';'

edit: fuck that formatting