156: Commented

explain xkcd: It's 'cause you're dumb.
Revision as of 23:44, 12 November 2012 by 75.129.102.8 (Talk)

Jump to: navigation, search
Commented
Your IDE's color may vary.
Title text: Your IDE's color may vary.

Explanation

In certain programming languages (including but not limited to C (since C99), C++, C#, Java, Javascript, PHP, and Scala), inserting a double slash (//) at the beginning of a line will "comment" that line out. This causes the computer to ignore that line when running the program.

An Integrated Development Environment (IDE for short) is an application that programmers use to write, compile, execute, and debug code. Many IDEs color-code text to make reading the code easier. In IDEs like Eclipse and Microsoft Visual Studio, a line that is commented out will be colored green, however the color may vary depending on which IDE you use, and can usually also be customized.

In this comic, BlackHat is ignoring Cueball's question by lifting two fingers towards him, forming a double slash. (It seems to me like Cueball at first thought that he was being flipped off, then realizes it's a different gesture).

Transcript

[two men are talking, one is hat-man]
First man: Hey, can you do me a favor?
[Hat man holds his hand out toward the first man]
Hat man: Commented!


First man: Huh?


[Hat man is holding his first and second fingers parallel and at an angle, and they are green. First man and his next line are also green.]
First man: Wait, what does that gesture even mean?
Comment.png add a comment!

Discussion

The issue date on this comic isn't filled. Can someone fix that by adding the correct issue date? Rikthoff (talk) 17:17, 3 August 2012 (EDT)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox
New Server Fund