Follow TV Tropes

Following

XKCD: It's more than a comic

Go To

blkwhtrbbt The Dragon of the Eastern Sea from Doesn't take orders from Vladimir Putin Since: Aug, 2010 Relationship Status: I'm just a poor boy, nobody loves me
The Dragon of the Eastern Sea
#14526: Jan 26th 2017 at 3:37:00 PM

Pffft I don't think I could EVER forget that "AcID" stands for "Accession ID"

Say to the others who did not follow through You're still our brothers, and we will fight for you
Brickman Since: Jan, 2001
#14527: Jan 26th 2017 at 9:03:34 PM

I try my best to comment any code I write as well as I can. Usually it's all royal-we stuff that reads like "Now we loop through all 5 stands" or "We set this variable here rather than further down because __". (The latter especially whenever I consider the cause or solution to a problem "weird").

My debug code, however, tends to be very unelaborate. If it's not "variable name = variable value", it'll always be stuff like "here" or my name followed by numbers counting from 1.

I've never once written an obscenity into my code, I think.

edited 26th Jan '17 9:03:57 PM by Brickman

Cidolfas Since: Jan, 2001
#14528: Jan 27th 2017 at 6:43:07 AM

Whenever possible I try to use a full-featured debugger built into my IDE (or browser, for Java Script), because it's so much easier to just step through code and inspect all the variables than try to figure out what needs to be printed at any time. When I do need to print I'll typically just put in the current step and a number.

Re comments - code should definitely be self-documenting, and comments are only necessary if you're doing something unusually tricky, hacky or as part of a domain that other programmers on the project might not know about - e.g. if you suddenly have to do image manipulation in a regular business logic server, explaining how you're doing that is a good idea.

You should be documenting the contract (with a very brief description) of all your public classes and methods though. That's just good sense.

Demetrios Our Favorite Tsundere in Red from Des Plaines, Illinois (unfortunately) Since: Oct, 2009 Relationship Status: I'm just a hunk-a, hunk-a burnin' love
Our Favorite Tsundere in Red
#14529: Jan 27th 2017 at 6:57:26 AM

Telescopes.

Well, you actually can see space vampires. They just turned into the C'Tan now. ;P

I smell magic in the air. Or maybe barbecue.
DeMarquis Since: Feb, 2010
#14530: Jan 27th 2017 at 7:02:25 AM

I would note that refracting telescopes are more rugged and less susceptible to misalignment than reflectors are. So they make better weapons. : )

edited 27th Jan '17 7:02:51 AM by DeMarquis

scionofgrace from the depths of my brain Since: Jan, 2001 Relationship Status: Non-Canon
#14531: Jan 27th 2017 at 7:12:13 AM

Correct me if I'm wrong, but doesn't the refracting telescope have one small mirror at the end? To reflect the image to the eyepiece? So you still wouldn't be able to see space vampires.

DeMarquis Since: Feb, 2010
#14532: Jan 27th 2017 at 7:14:45 AM

Not always. Many of them simply put the eyepiece at the end of the tube, so that you are literally looking straight up at the object in view.

Aetol from France Since: Jan, 2015
#14533: Jan 27th 2017 at 7:58:07 AM

The one depicted does, which I think is his point.

Worldbuilding is fun, writing is a chore
DeMarquis Since: Feb, 2010
#14534: Jan 27th 2017 at 12:26:15 PM

It almost comes to a point, which means that, with enough force, you can use it to stake space vampires.

Brickman Since: Jan, 2001
#14535: Jan 27th 2017 at 8:01:32 PM

Randal's missing the real point though. You need the refracting telescope to see the space vampires, and the reflecting telescope to confirm that they're vampires.

Falrinn Since: Dec, 2014
Arha Since: Jan, 2010
#14537: Jan 30th 2017 at 9:51:35 AM

I've never heard of two planes having sex mid flight, but I guess that mid air 'refueling' maneuver was always a little suspicious looking.

TParadox Since: Jan, 2001 Relationship Status: The captain of her heart
#14538: Jan 30th 2017 at 10:00:27 AM

It's not about the planes themselves, it's the Mile High Club.

Fresh-eyed movie blog
Arha Since: Jan, 2010
#14539: Jan 30th 2017 at 10:04:15 AM

Don't be silly, of course it's about the planes..

blkwhtrbbt The Dragon of the Eastern Sea from Doesn't take orders from Vladimir Putin Since: Aug, 2010 Relationship Status: I'm just a poor boy, nobody loves me
The Dragon of the Eastern Sea
#14540: Jan 30th 2017 at 10:09:41 AM

No really.

Mid-air refueling, dude

Say to the others who did not follow through You're still our brothers, and we will fight for you
Arha Since: Jan, 2010
#14541: Jan 30th 2017 at 10:14:06 AM

This is a family friendly website, get that smut out of here.

petersohn from Earth, Solar System (Long Runner) Relationship Status: Hiding
#14542: Jan 30th 2017 at 10:22:12 AM

[up][up]That's more like mid-air breastfeeding. That's something that neither birds nor Superman are capable of doing. Superwoman, on the other hand...

The universe is under no obligation to make sense to us.
blkwhtrbbt The Dragon of the Eastern Sea from Doesn't take orders from Vladimir Putin Since: Aug, 2010 Relationship Status: I'm just a poor boy, nobody loves me
The Dragon of the Eastern Sea
#14543: Jan 30th 2017 at 10:23:34 AM

Breast feeding doesn't involve sticking a long shaft filled with potent fluids down into a hole on the receiving partner's backside though

Say to the others who did not follow through You're still our brothers, and we will fight for you
petersohn from Earth, Solar System (Long Runner) Relationship Status: Hiding
#14544: Jan 30th 2017 at 11:04:25 AM

It actually does involve sticking something into a hole of someting that is much smaller than you. There are potent fluids too. You can even refuel 2 planes in parallel.

The universe is under no obligation to make sense to us.
Medinoc from France (Before Recorded History)
#14545: Jan 30th 2017 at 12:38:34 PM

I was also under the impression that plane toilets did lead to outside the plane.

"And as long as a sack of shit is not a good thing to be, chivalry will never die."
Fighteer Lost in Space from The Time Vortex (Time Abyss) Relationship Status: TV Tropes ruined my love life
Lost in Space
#14546: Jan 30th 2017 at 12:41:30 PM

Not in modern ones. It's stored in a tank that's emptied on landing. There have been anecdotes of plane toilets overflowing, leading to... adverse consequences. Regardless, it's not a thing planes "voluntarily" do, for whatever definition of that term you want to use.

Also, does Superman defecate or urinate? He's never been seen to do so in any works I've ever known about, and he does eat.

edited 30th Jan '17 12:44:12 PM by Fighteer

"It's Occam's Shuriken! If the answer is elusive, never rule out ninjas!"
bookworm6390 Since: Mar, 2013 Relationship Status: Abstaining
#14547: Jan 30th 2017 at 12:50:46 PM

Nobody Poops. Or maybe Clark actually somehow uses all of the food and it gets turned into energy to fuel his powers. Somehow, he can just ignore those pesky laws of thermodynamics. Because the writers can.

BestOf FABRICATI DIEM, PVNC! from Finland Since: Oct, 2010 Relationship Status: Falling within your bell curve
FABRICATI DIEM, PVNC!
#14548: Jan 30th 2017 at 12:55:45 PM

Some people believe that blue, snow-like stuff that sometimes fall out of the sky around airports is some sort of processed waste from the plane's toilets. It's actually an anti-freezing product that's sprayed on the wings; a bit of it will sometimes fall off. It's probably toxic if you consume it, and perhaps it's harmful to the environment (I've absolutely no clue whether that's the case), but it's nothing to do with toilets.

EDIT: Or so I had read from somewhere. Wikipedia still says it's toilet material, though. (Look up "blue ice" if you must.)

edited 30th Jan '17 12:56:43 PM by BestOf

Quod gratis asseritur, gratis negatur.
FuzzyBoots from Outlying borough of Pittsburgh (there's a lot of Since: Jan, 2001 Relationship Status: And they all lived happily ever after <3
#14549: Jan 30th 2017 at 2:50:46 PM

[up][up][up] Cue joke about someone getting hit by said waste as it passes through a low temperature zone, leading to an icy B.M. strike.

Redmess Redmess from Netherlands Since: Feb, 2014
Redmess
#14550: Jan 30th 2017 at 3:16:26 PM

The Mythbusters tested the Blue Ice myth, and spectacularly demonstrated that it really exists and how it happens, in a NASA wind tunnel no less, IIRC.

Optimism is a duty.

Total posts: 25,900
Top