<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Espertus</id>
		<title>explain xkcd - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Espertus"/>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php/Special:Contributions/Espertus"/>
		<updated>2026-05-16T22:25:46Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://www.explainxkcd.com/wiki/index.php?title=Talk:378:_Real_Programmers&amp;diff=99609</id>
		<title>Talk:378: Real Programmers</title>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php?title=Talk:378:_Real_Programmers&amp;diff=99609"/>
				<updated>2015-08-13T21:56:07Z</updated>
		
		<summary type="html">&lt;p&gt;Espertus: Added references to related by cartoons by others&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I was going to edit the above description, but it was taking too much time to edit it into a suitable format, so here's the long version.&lt;br /&gt;
&lt;br /&gt;
In the beginning was UNIX.  And it was good.  And it was written by some very clever people.&lt;br /&gt;
&lt;br /&gt;
One of the first very useful tools they wrote was '''{{w|ed (text editor)|ed}}''', a &amp;quot;line-editor&amp;quot; (i.e. it works one line at a time).  It uses some simple commands, and was created to work on very-old-school teletype machines, where you type a command, and '''ed''' types a response back.&lt;br /&gt;
&lt;br /&gt;
It was a lovely bit of code.  Using very little the way of resources, it allowed you to create a text document of any length, including source code in whatever language you wanted to program in.&lt;br /&gt;
&lt;br /&gt;
Eventually, a more sophisticated version called '''{{w|ex (text editor)|ex}}''' (short for EXtended) was written by a clever man named Bill Joy.  While it has some great improvements over ed, it was still a line-editor.&lt;br /&gt;
&lt;br /&gt;
The trouble was, using a line-editor like '''ed''' or '''ex''' requires you to have a very good {{w|mental model}} of the document you are creating.  Unfortunately, humans aren't very good at this, so they constantly need to refresh their mental model by printing out big chunks of the document (or program) they are working on.  This took a LOT of paper using teletypes.&lt;br /&gt;
&lt;br /&gt;
Eventually, teletypes were replaced with {{w|Computer_terminal#Dumb_terminal|terminals}}.  This saved a lot of paper.  But the people who created the terminals began making them smarter than teletypes, so that magic character sequences could be used to move the cursor around, rather that simply going character-by-character across the line, then scrolling down to the next line, and so on.  This opened up a whole new world.&lt;br /&gt;
&lt;br /&gt;
The very clever Bill Joy took advantage of these magic character sequences to create his wonderful &amp;quot;full-screen&amp;quot; text editor '''{{w|vi}}'''.  '''vi''' was the &amp;quot;VIsual mode&amp;quot; of '''ex'''.  With '''vi''', the user could see a screen-full of text at once.  Entire forests were saved.&lt;br /&gt;
&lt;br /&gt;
'''Emacs''' was developed at the same time as '''vi''', using the same magic characters, and was also a full-screen text editor.  I've never used it, so I can't speak to its merits, but there are many people who still find it more useful than any GUI they've tried.&lt;br /&gt;
&lt;br /&gt;
On the one hand, '''vi''' and '''emacs''' are more sophisticated tools, and thus take longer to learn to use than '''ed'''.  However, once you learn to use them, they make writing code EASIER, and they are therefore considered a less praise-worthy way of writing code by those concerned with defining what a &amp;quot;Real Programmer&amp;quot; is.  (In other words, those programmers suffering from {{w|testosterone poisoning}}.)&lt;br /&gt;
&lt;br /&gt;
Using '''cat''' to write a program looks like this:  (Note that the $ is the prompt provided by the computer.  The rest is typed by the user.  And the ^D means the user held down the control key while typing the letter &amp;quot;d&amp;quot;.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
'''$''' cat | cc&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
''The user types C code here, and ends with ^D.  Assuming all goes well, the compiler silently finishes after creating the executable program '''a.out''' in the user's current working directory.''&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The reason this is considered a more praise-worthy way of coding is that, in those early days, doing this meant that your code was lost the instant you typed it.  If you made a mistake, you would have to type the whole thing again.  So doing this for code of any sophistication was considered an act of courage, confidence, and conviction.  (I myself did it several times, for the fun of it, when no-one was watching, though never for a program that took more than about 30 lines of code.  I was delighted that it worked all 3 times, but since I love to write re-usable code, this wasn't really something I wanted to keep doing.)&lt;br /&gt;
&lt;br /&gt;
NOW PAY ATTENTION.  '''VI IS NOT VIM!'''  '''{{w|Vim (text editor)|Vim}}''' was written in 1991, long after more sophisticated {{w|Shell (computing)|shells}} were created that made it possible to copy and paste text from one part of the screen to another.  This ability greatly reduced the risks of using '''cat''' to pass your source code directly to the compiler, so it was no longer a praise-worthy stunt.  Thus the line &amp;quot;Real programmers use vim&amp;quot; was NEVER considered true by any UNIX programmer.&lt;br /&gt;
&lt;br /&gt;
Whether this was a mistake of the author, or the character (possibly Megan?) is unclear.  It seems possible that it was a simple typo, but since I've never seen one in the strip before, I'm somewhat skeptical.&lt;br /&gt;
&lt;br /&gt;
--[[User:MisterSpike|MisterSpike]] ([[User talk:MisterSpike|talk]]) 07:12, 17 June 2013 (UTC)&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;cat | cc&amp;lt;/code&amp;gt; doesn't work on my system. My &amp;lt;code&amp;gt;cc&amp;lt;/code&amp;gt; is simply a symlink to &amp;lt;code&amp;gt;gcc&amp;lt;/code&amp;gt;; what's yours? --[[User:Lucaswerkmeister|Lucaswerkmeister]] ([[User talk:Lucaswerkmeister|talk]]) 10:16, 7 August 2013 (UTC)&lt;br /&gt;
&lt;br /&gt;
::One can also use&lt;br /&gt;
::&amp;lt;blockquote&amp;gt;&lt;br /&gt;
::'''$''' cat | gcc -xc -&lt;br /&gt;
::&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
::The program will be an a.out file.{{unsigned ip|200.131.199.28}}&lt;br /&gt;
&lt;br /&gt;
Some comments:&lt;br /&gt;
&lt;br /&gt;
I would never claim to be an emacs expert, but I'm reasonably proficient in it. Command of the form M-x (whatever) are a way of calling commands (or, really, arbitrary functions in the emacs code) by name. SO 'M-x butterfly' means that there is a function named &amp;quot;butterfly&amp;quot; somewhere, but that it has not been assigned a keyboard shortcut (or it has, but you're calling it the long way).&lt;br /&gt;
&lt;br /&gt;
Also, three are still advanced Linux programmers today who swear by vim or emacs being superior to IDEs. There are specific technical reasons for this: emacs is basically an IDE construction kit that's incredibly easy to extend and customize, and is more customizable than pretty much any other program in the history of software with the exception of a Smalltalk installation. And vim has highly evolved commands to give experts a superhuman typing and editing speed when coding.&lt;br /&gt;
&lt;br /&gt;
So when someone claims that &amp;quot;real programmers use vim,&amp;quot; they are claiming that RIGHT NOW, vim is the best possible editor for developers of sufficient competence. There's a community of very smart people that basically thinks this.&lt;br /&gt;
&lt;br /&gt;
[[User:Tess|Tess]] ([[User talk:Tess|talk]]) 04:19, 15 December 2013 (UTC)&lt;br /&gt;
&lt;br /&gt;
What is &amp;quot;Meta&amp;quot;? As in &amp;quot;M-butterfly&amp;quot;?[[Special:Contributions/108.162.219.180|108.162.219.180]] 23:20, 27 April 2015 (UTC)&lt;br /&gt;
When I read this, I started up emacs and tried this... until I realized that there was no butterfly key... --[[Special:Contributions/108.162.215.58|108.162.215.58]] 00:51, 13 May 2015 (UTC)&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Meta&amp;quot; is binded to &amp;quot;Alt&amp;quot; in modern keyboard. &amp;quot;Meta&amp;quot; is referring to the &amp;quot;Meta&amp;quot; key in early {{w|Space-cadet keyboard|LISP keyboard}}. --[[Special:Contributions/173.245.62.93|173.245.62.93]] 18:58, 19 May 2015 (UTC)&lt;br /&gt;
&lt;br /&gt;
I assume this cartoon was inspired by an earlier [http://ars.userfriendly.org/cartoons/?id=20091201 User Friendly cartoon], in which Miranda ends an editor one upsmanship discussion by saying: &amp;quot;Well, I edited the inodes by hand. with magnets.&amp;quot;  See also [http://dilbert.com/strip/1992-09-08 this classic Dilbert cartoon]. [[User:Espertus|Espertus]] ([[User talk:Espertus|talk]]) 21:56, 13 August 2015 (UTC)&lt;/div&gt;</summary>
		<author><name>Espertus</name></author>	</entry>

	</feed>