Stop the Vertical Tab Madness
Programming in the 21st Century - James Hague - July 29, 2010In One Small Step Toward Reducing Programming Language Complexity I added “Who even knows what “v” (vertical tab) does?” as an off the cuff comment. Re-reading that made me realize something that’s blatantly obvious in retrospect, so obvious that I’ve gone all this time without noticing it:
No one is actually using the vertical tab escape sequence.
And I truly mean “no one.” If I could stealthily patch the compiler for any language supporting the “v” escape so I’d receive mail whenever it occurred in source code, then I could trace actual uses of it. I’m willing to bet that all the mail would come from beginners trying to figure out what the heck “v” actually does, and then giving up when they realize it doesn’t do anything. That’s because it doesn’t do anything, except with some particular printers and terminal emulators, and in those cases you’re better off not relying on it anyway.
And yet this crazy old feature, one that no one understands or uses, one that doesn’t even do anything in most cases, not only gets special syntax in modern programming languages, it’s consistently given space in the documentation, even in tutorials. It’s in the official Lua docs. It’s in MIT web course notes about printf. It’s in the books Programming in Python 3 and Python Essential Reference. It’s in an introduction to Python strings. It’s in the standard Erlang documentation, too.
[Insert conspiracy theory involving the Illuminati here.]
Here’s my simple plea: stop it. Stop mentioning vertical tabs in tutorials and language references. Drop the “v” sequence in all future programming languages. Retroactively remove it from recent languages, like Python 3.0. Yes, ASCII character number 11 isn’t going away, but there’s no reason to draw attention to a relic of computing past.
Surprisingly, the “v” sequence was removed from one language during the last decade: Perl. And even more surprisngly, there’s a 2010 proposal to add escaped character sequences, including vertical tab, to the famously minimal language, Forth.
(If you liked this, you might like Kilobyte Constants, a Simple and Beautiful Idea that Hasn’t Caught On.)
Categories: Blogs Programming in the 21st Century
Comments
No comments so far, you could be the first.Add comment
Erlang on Twitter
» quercialwji2 (Quercia Quinn): @RolArens http://t.co/pPiIpTCx
» quercialwji2 (Quercia Quinn): @kreese555 http://t.co/pPiIpTCx
» erlang (Andreas Åkre Solberg): RT @SaraJChipps: Node.js is like taking a bubble bath in JavaScript.
» trabajosit (Empleos en IT): argentina Desarrolladores - iOS, Ruby, Erlang: Estamos buscando un líder de desarrollo que quiera hacer una gran… http://t.co/zhTLpGI1
» erlang (Andreas Åkre Solberg): jQuery Scroll Path Plugin http://t.co/DHZ0W36c via @JoelBesada
» martyns (martynas): fighting with load bursts. probably its time to deploy https://t.co/xJxKcRmQ. #erlang
» Louellaoqk (Louella Delaroca): Informationsmanagement in Hochschulen (German Edition): Die Informations- und Kommunikationstechnik (IuK) erlang… http://t.co/95UJGZS3
» fgtrjhyu (アスパラガー): 多分「どうでもいい」だと思うんだ。 Smalltalk→Obj…C erlang→node.jsと同じで。
» zbyszek (Zbyszek Żółkiewski): RT @michalptaszek: Going to give #ejabberd tutorial on @erlangfactory in SF this March :) Anyone?
http://t.co/0bnFtIKf #xmpp #erlang
» jeedee (jeedee): Erlang, y u so fast?
Statistics
Number of aggregated posts: 10456
Number of comments: 1445
Most recent article: February 06, 2012
Latest comments
» simple smile on Scale means Skills: Very informative article. Pretty sure people would love to go to that place for shopping. Specially to those who are…
» simplesmile on 27 January 2012: Erlang Solutions embarks on an Erlang Embedded KTP: Your article will make the world better. Thanks again and good luck to you in your life. See you next time.simplesmile
» tandblekning easewhite on 08 February 2012: Erlang Express 3-day Course in San Francisco on 8 February: ncomprehensible to me now, but in general, the usefulness and significance is overwhelmingtandblekning easewhite