Difference between revisions of "1926: Bad Code"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m (Explanation)
(Transcript)
Line 13: Line 13:
 
==Transcript==
 
==Transcript==
 
{{incomplete transcript|Do NOT delete this tag too soon.}}
 
{{incomplete transcript|Do NOT delete this tag too soon.}}
 +
 +
[Cueball is at his desk in a swivel chair, writing more code. Ponytail is with him.]
 +
 +
Ponytail: That's the ugliest mess of code i've ever seen! What on earth are you working on?
 +
 +
[Cueball swivels his chair to face Ponytail]
 +
 +
Cueball: It's nothing weird this time, I swear. It just looks bad because it's a spreadsheet formula.
  
 
{{comic discussion}}
 
{{comic discussion}}

Revision as of 16:48, 8 December 2017

Bad Code
"Oh my God, why did you scotch-tape a bunch of hammers together?" "It's ok! Nothing depends on this wall being destroyed efficiently."
Title text: "Oh my God, why did you scotch-tape a bunch of hammers together?" "It's ok! Nothing depends on this wall being destroyed efficiently."

Explanation

Ambox notice.png This explanation may be incomplete or incorrect: Created by a bad coder, very incomplete - Please change this comment when editing this page. Do NOT delete this tag too soon.
If you can address this issue, please edit the page! Thanks.

Cueball is writing more bad code. He is trying to defend his coding when he learns that the wall will collapse. Cueball writing bad code has been featured before. Ponytail as usual, is critiquing his code.

Transcript

Ambox notice.png This transcript is incomplete. Please help editing it! Thanks.

[Cueball is at his desk in a swivel chair, writing more code. Ponytail is with him.]

Ponytail: That's the ugliest mess of code i've ever seen! What on earth are you working on?

[Cueball swivels his chair to face Ponytail]

Cueball: It's nothing weird this time, I swear. It just looks bad because it's a spreadsheet formula.


comment.png add a comment! ⋅ comment.png add a topic (use sparingly)! ⋅ Icons-mini-action refresh blue.gif refresh comments!

Discussion

Is it just me or is the fact that this page was created by a bad coder slightly funny? Halo422 (talk) 16:56, 8 December 2017 (UTC)

Sometimes on this wiki we change the created by text to something relevant to the comic Halo. DPS2004 (talk) 16:58, 8 December 2017 (UTC)
Slightly, yes. :oP141.101.76.16 14:13, 11 December 2017 (UTC)

"MAY be the same Cueball and Ponytail as the Code Quality series"???!?! As far as I'm concerned, this is the latest entry in the Code Quality series! Oh, and my interpretation of her "Wait, crap." was her saying she realized he's actually done that before, thrown hammers at that wall. I feel like the giving-him-bad-ideas explanation makes more sense, though. NiceGuy1 (talk) 17:56, 8 December 2017 (UTC)

I don't see this that way. Cueball from Code Quality series was a beginner, self-taught coder. This one seems much more mature with programming skills.kshksh (talk) 20:45, 11 December 2017 (UTC)
That happens sometimes. I.e. people get better over time. But in this case I'd agree with Ponytail that Cueball is not showing "programming skills and is not showing maturity.108.162.216.40 20:35, 11 December 2017 (UTC)
I know that people get better over time, but I'm picking more on indirect clues here. Cueball comments that "it's nothing wierd THIS TIME", which means he's written many wierd projects. This means that he likes programming, and possibly have written some non-wierd projects. He also says "nothing depends on it", which means that he has written something that could depend on it. And while we have no direct indication of how much time passed in between comics, all of the Code Quality seems to happen in one sitting, while this is obviousely different situation.kshksh (talk) 20:45, 11 December 2017 (UTC)
I've usually understood that Cueball isn't so much a beginner (in other Code Quality strips), but that he never bothered learning GOOD programming (format, syntax, efficiency, etc). He slaps together code and tries to nudge it and twist it into working, ending up needing assistance to get it done. Brute force programming, no finesse... Instead of using a loop, copies a command sequence 10 times over. That kind of thing. Besides, if he's always just a beginner, why is he always programming? Seems to me he has a passion for it and as such he keeps trying, but never bothers trying to improve (and, honestly, I feel like it takes a large, robust program to inspire such colourful comments from Ponytail. A simple beginner Hello, World progam couldn't have much to say other than "Put a semicolon here" and "You should indent these lines", stuff like that). And part of why his code is usually bad is because he writes programs to do weird things, hence his describing this one as not so bad. Actually, in this respect I wonder if this is ALSO related to the "Cueball has the weirdest computer problems" series, essentially tying those two series together: Cueball gets weird problems because he writes bad code to do weird things which has unexpected results. NiceGuy1 (talk) 04:49, 12 December 2017 (UTC)

The hammer-throwing may also be a call-back to xkcd 905, "Homeownership", where Cueball accidentally destroys his home by getting carried away drilling holes in the walls?

Wait, so nobody thinks calling it "Bad Code" instead of the prior "Code Quality" is a veiled reference to Mr Robot? Randall clearly watches the show; I thought he was referring to the show's repeated assertion that careless people are like bad code, their actions dangerously in need of revision. IE that some people have a knack for really messing stuff up which reaches far beyond the minimal effort they put into choosing their actions.

I'm almost certain that "parsing html" is a reference to this: https://stackoverflow.com/a/1732454 Waterlubber (talk) 20:16, 8 December 2017 (UTC)

Isn't it ponytail who tries to destroy the wall, since by Cueball's logic it doesn't matter if she does it?

Without the title text, I'd believe the wall is actually (already) bearing some kind of dependency into Cueball's spreadsheet, hence the reaction from Ponytail. Rather than giving him ideas to destroy it. It still makes sense because he's the kind of person to do messy things like that. 162.158.92.46 00:29, 10 December 2017 (UTC)

I just loaded this xkcd comic (7/20/2021, 21:45 Pacific Daylight Time), and the page took time loading, then just shows "Bad Code" *UNDER* the title, in a different font. Page may be using some disfunctional code to display the comic, which, when it fails, displays "Bad Code".


Haskell, incidentally, has powerful parser combinators, one of the crown jewels of the language, that make it easy to parse HTML, or for that matter, anything. So, Cueball is just likely bad at Haskell. 172.70.55.112 04:23, 13 January 2023 (UTC)

someone should make this

it would be funny

162.158.74.69 11:38, 16 September 2024 (UTC)