Slashdot Mirror


Is Caps Lock Dead?

An anonymous reader asks "Recently I have noticed that I haven't used caps lock other for any purpose other than hitting it by accident. Once upon a time, COBOL was written in all caps, and other languages like BASIC and Fortran were not case sensitive. Capitals were the way to go for writing code. Does the caps lock key serve any purpose any more, and if not, should it be removed, moved, or replaced?"

61 of 1,206 comments (clear)

  1. No! I use CapsLock as my "ESC" key by ClarkEvans · · Score: 5, Informative

    especially useful in VIM.

    1. Re:No! I use CapsLock as my "ESC" key by Anonymous Coward · · Score: 5, Funny

      I find a drop of superglue under the key ensures its continued usefulness.

    2. Re:No! I use CapsLock as my "ESC" key by mirko · · Score: 4, Insightful

      Or in Quake : I use it mapped to the "Always Run" function.

      --
      Trolling using another account since 2005.
    3. Re:No! I use CapsLock as my "ESC" key by EvilMidnightBomber · · Score: 5, Insightful

      The problem with making ANY remapping changes to your keyboard is that in a programming environment where you frequently have to hop on other people's comps to "drive", you instantly take on the role of "goober who can't type" rather than "superhero debugger". It's bad enough there isn't universal standardization of the all-important backslash key, which 2/3 of the time is a std-sized key below enter and 1/3 of the time a 2x length above it.

  2. Well my roomate has this... by ForestGrump · · Score: 5, Interesting

    escape and caps lock key switch.
    http://www.cs.ucr.edu/~beyert/articles/es cclock.ht m

    -Grump
    bet you tim!

    --
    Is it true that more people vote for the winner of American Idol, than vote for the president? -Ali G.
    1. Re:Well my roomate has this... by EvanED · · Score: 4, Interesting

      Sounds dangerous... with the number of times I've hit caps by accident, I don't think I'd want to hit esc by accident...

  3. Yes by linuxpoweredtrekkie · · Score: 5, Insightful

    Caps Lock is EVIL!

    I remapped my capslock into an extra control key months ago. I never type more than a couple of words in capitals, and can easily hold down the shift key.

    Capslock is just a problem when you accidentally hit it when reading something you are keying in.

    1. Re:Yes by falzer · · Score: 5, Informative

      Here's how I made capslock an extra control in Windows 2000/XP.

      Go to this path in the registry editor:
      HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Keyboard Layout

      In that registry path, add a new binary value, like so:
      Name: Scancode Map
      Type: REG_BINARY
      Data:
      00 00 00 00 00 00 00 00
      02 00 00 00 1D 00 3A 00
      00 00 00 00


      This required a reboot to take effect (for me, anyway).

    2. Re:Yes by ptbarnett · · Score: 4, Interesting
      Here's how I made capslock an extra control in Windows 2000/XP.

      If you still want a caps-lock for some reason, you can swap them with this binary value:

      00 00 00 00 00 00 00 00
      03 00 00 00 1D 00 3A 00
      3A 00 1D 00 00 00 00 00

      It's the first thing I do when installing Windows on new systems. If a client gives me a computer for use during a project (even a short one), I make the same change and put it back before I leave on the last day.

      However, I'm considering dropping the caps-lock key altogether and making both into control keys. When I swap them, most people have a lot of trouble using my keyboard -- which is either a problem or a feature, depending on your point of view.

    3. Re:Yes by ejdmoo · · Score: 4, Informative

      It's much easier to download this:
      http://www.microsoft.com/downloads/details. aspx?Fa milyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&Displa yLang=en

      Then that has a nice little thingy called remap.exe. Let's you remap any key to any other. :)

    4. Re:Yes by Audity · · Score: 4, Informative

      For those too timid to enter binary codes into the windows registry, there's a program out there called KeyTweak for you. Thats for win2k/xp, nearly everyone else can head here.

    5. Re:Yes by DanTilkin · · Score: 5, Interesting

      I find it humorous that in showing how to not have a caps lock key, you made a post that could have used the caps lock key.

    6. Re:Yes by JPriest · · Score: 5, Informative

      Fixed link
      Download is for "Windows Server 2003 Resource Kit"

      --
      Saying Java is nice because it works on all OS's is like saying that anal sex is nice because it works on all genders.
    7. Re:Yes by Frobnicator · · Score: 4, Informative
      Caps are more easily readable on envelopes, some database and spreadsheet entries, titles of chapters, and many more writing applications.
      I work with several different databases. All of our database data is stored in caps. Why? In decreasing order of significance:
      • Postal Service Discount Requirements - Unless you like spending lots of money on mailings, use one of the discount mail formats, such as automatable mail. Automatable mail means CASS cerification, which means using all caps. Otherwise, the best bet is using an all-caps, 8-18 point sans serif, uniform stroke width font, 3/4 to 3 point space between characters. We found that 10 or 12 point ariel fits the requirements. If you use bulk mailing and you don't fit the requirements, the mail can be thrown out, not returned, so you wouldn't know that your mixed-case address had problems.
      • Compression size - Your compressor should notice that almost all the data are of about 30 values {0-9, the common A-Z values, space}, and a few other symbols for the database system. That tiny alphabet, and considering the rarity of certain alphabet letters, will make dynamic huffman VERY happy. Mixed case would at least double the size of the compressed alphabet, meaning larger backups. If you do backups (you do, don't you?) it helps. If you have to distribute the database to different sites, it really helps. In one example I encountered recently, the client had about 6 GB of compressed data and wanted to send it to all of their stores nightly. Each store is equipped with a dedicated high-speed line, but 6GB daily (over 9 hours on dedicated T1) is too much for a nightly transfer. After looking at their data, simply converting everything to caps let it compress to just over 1 GB of data (under 2 hours over a T1 network).
      • Uniform - It's easier to search for names that some people like to have different capitalization rules on (Shrudili/ShruDili/ShruDiLi, MacKay/Mackay, etc) Yes, you can do a case insensitive match (you insensitive clod) but it takes more CPU work; That's bad when a batch run already takes a long time for simple case sensitive matches.
      • Readability - It's much easier to read names and addresses on the screen when they aren't mixed case.

      The first one will save you lots of money in mailing. If your company is in to saving money, then your mailing lists already do that. Compressability of data is *very* important for large-scale systems, and can have significant improvements with an ALL CAPS DATABASE. The last two just help reduce system load and operator error; both are good things to reduce.

      frob

      --
      //TODO: Think of witty sig statement
  4. OF COURSE IT SERVES A PURPOSE by blue_adept · · Score: 4, Funny

    how else are you supposed to shout?

    --

    "Is this just useless, or is it expensive as well?"
    1. Re:OF COURSE IT SERVES A PURPOSE by abhisarda · · Score: 5, Funny

      yeah, how else will those nigerian spammers get their message across that they have FORTY MILLION DOLLARS(40,000,000 $) AND ARE WILLING TO GIVE YOU A SHARE OF IT IF YOU ARE A NOOB.

    2. Re:OF COURSE IT SERVES A PURPOSE by isthisthingon · · Score: 5, Funny
      Kidding (somewhat) aside, if you've ever read anthing in legalese there is ALWAYS at least one obligatory section that warrants being written in all caps.

      I call this the:
      "If you don't read anything else in this contract read this one,
      or our hungry attack lawyers will eat you and your young
      for lunch."
      clause.

      --
      And then one day you find, ten years have gone behind you....
  5. Yes. by HenryKoren · · Score: 4, Informative

    Naming convention in C++: Constants in ALL CAPS

    1. Re:Yes. by geoffspear · · Score: 4, Funny

      And do you give your constants names so long that you really need to use your caps lock key instead of just using shift?

      --
      Don't blame me; I'm never given mod points.
    2. Re:Yes. by Pooua · · Score: 4, Informative
      Some people actually know how to type, which means they use all the fingers on both hands to reach the necessary keys. More to the point, it means that holding down the shift key with one finger while trying to touch-type puts an odd strain on the hand and is poor typing posture. The shift key should only be used for at most 3 letters in sequence, and probably should be avoided for more than a single capital letter in a word.

      --
      Taking stuff apart since 1969 (TM)
  6. Not everyone is a programer by Dark+Bard · · Score: 5, Insightful

    Writers and layout people use cap lock all the time. Most will use it from time to time in standard word processing. Computers aren't just for programers. Some of us use the software they write.

    1. Re:Not everyone is a programer by Slayk · · Score: 5, Interesting

      Legal docs have quite a few all-caps sections, I believe.

      That's about all I notice when I skim over a license agreement, anyway.

    2. Re:Not everyone is a programer by FrostedWheat · · Score: 4, Funny

      The Amiga had a Help key. I believe it was where the PC's Escape key is. Or it could be on the other side not sure, been a while. The thing that always amused me was the fact that for most programs, even Workbench, the help key did nothing. Not a thing.

      They might as well have renamed it the 'RTFM' key.

  7. Computer freeze check by TheOtherAgentM · · Score: 5, Insightful

    I use Caps Lock to check if Windows has completely frozen up. If the light on my keyboard doesn't come on, it's time to do a hard reset.

    1. Re:Computer freeze check by Cerv · · Score: 5, Informative

      But Num Lock and and Scroll Lock make Caps Lock redundant if that's all you ever use it for.

      --
      sig
    2. Re:Computer freeze check by Lehk228 · · Score: 4, Informative

      no, it's a low level windows fault, when the keyboard drivers are no longer functioning it is windows which has crashed

      --
      Snowden and Manning are heroes.
  8. We should keep capslock by inode_buddha · · Score: 5, Funny

    else it would be *very* discriminating against all those AOL'ers.

    --
    C|N>K
  9. OMG! by Ikari+Gendou · · Score: 4, Funny

    oF COURSE cAPSlOCK IS STILL USEFUL! iMAGINE ALL THE USERS OF THE WORLD NOT ABLE TO SEND LONG SHOUTING EMAILS IF cAPSlOCK WAS REMOVED! wHAT WOULD THEY DO THEN?! sTaRt UsInG aLt-ShIfT? tHE HORROR!

    --

    Call on God, but row AWAY from the rocks!

  10. What a silly question by Overly+Critical+Guy · · Score: 5, Insightful

    Of course caps lock is necessary. It's necessary for whenever you want to type in all-caps without holding shift the whole time. I can think of dozens of examples of this. Hell, where I work, the blank fields on our contracts must be typed in all caps. I wrote a screenplay once, and you need caps all over the place. When I'm coding, I write some macro names in all-caps.

    No, the caps lock shouldn't be removed or replaced. It's handy to have a key that allows you to toggle lower to upper caps so you don't have to hold shift.

    Pointless Ask Slashdot question!

    --
    "Sufferin' succotash."
    1. Re:What a silly question by EvanED · · Score: 4, Informative

      "Now, I'm not saying that it's NEVER used by ANYONE, because I'm sure someone will reply and tell me that it does some obscure function in some obscure program."

      Only if you consider *nix an obscure program. Scroll lock in those (at least those that I've tried it in, which means a couple different flavors of Linux and FreeBSD) stops the screen from scrolling so you can read it. FreeBSD will even let you scroll up with the arrow keys so you can see text that has scrolled off the screen. It's actually quite useful. (For instance, you're maknig something with dependencies and a message comes up that you should actually read but it starts to compile the next thing, you can still read it. Also removes a lot of the benefit of piping stuff to more or less.) I would imagine there's a way to set this up under Linux too, but I haven't yet seen a distribution that has it working out of the box and I don't know how to configure it.

    2. Re:What a silly question by tlianza · · Score: 4, Informative
      If you're going to get rid of a key, maybe scroll lock would be a better one. I don't think I've ever actually seen anyone use it for anything besides playing with the pretty lights.

      I use it every day - it's a common shortcut key for KVM switches (Belkin, at least). Scroll Lock - Scroll Lock - Machine #.

      That's still somewhat a testament to it's uselessness though. I'm fairly sure the KVM makers thought to themselves "we need a shortcut key on the keyboard... one that is almost never used for anything else..."

    3. Re:What a silly question by BJH · · Score: 4, Informative

      Scroll lock works in the Linux console, but there's a better thing for stopping scrolling - Ctrl-S/Ctrl-Q, which works in any normal terminal. Shift-PageUp/Shift-PageDown move up and down through the buffer.

  11. Now now young man by kunudo · · Score: 5, Funny

    Keep it as a tribute to the coders of old. It's like having a museum in your keyboard. You can even play with the exibit.

  12. Caps Lock? Who cares about Caps Lock? by sycomonkey · · Score: 5, Interesting

    They still haven't even bothered to get rid of the Scroll Lock button yet... What makes you think Caps Lock is going away any time soon?

    --
    --The universe will not be altered by forum threads, even those which are very wry. --Tycho Brahe (Penny Arcade)
  13. Re:EASY IQ DETECTION by Anonymous Coward · · Score: 5, Funny

    If caps lock were gone, how would morons get their misdirected points across?

    IT'S SPELLED MORANS, YOU DUMMY.

  14. Replace it with a key labelled [help] by mikael · · Score: 4, Insightful

    I am still amazed that after 20 years of the desktop PC, we still have to press the key labelled [F1] to get any type of GUI help, rather than having a key labelled [HELP], although Microsoft did find a way of squeezing in a key with the Windows logo.

    --
    Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
    1. Re:Replace it with a key labelled [help] by moosesocks · · Score: 4, Informative

      Apple has done this already.

      It's right above the delete key in place of the infrequently used insert key.

      Unlike the PC makers' latest trend of adding a bajillion buttons to the keyboards that will never be used, apple added four buttons above the numlock pad in place of the "lock" lights (which in place are located directly on their respective keys). The four (incredibly useful!) buttons are:
      Volume Down
      Volume Up
      Mute
      Eject Disc (less useful than other 3, especially if you have more than one optical drive. Still, since Mac OS requires a software dismount, it's necessary.

      Oh yeah... did I mention that it has a USB hub in it? Why the hell are we still shipping PCs with 12-year-old PS/2 technology?

      I just miss the power button. Even so, apple's relocated it to the monitor (another thing PC makers should have done years ago), which in my mind is the 'proper' place for the system's power button.

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
    2. Re:Replace it with a key labelled [help] by runderwo · · Score: 5, Informative
      Oh yeah... did I mention that it has a USB hub in it? Why the hell are we still shipping PCs with 12-year-old PS/2 technology?
      Easy. Because USB is not a perfect replacement for PS/2 input devices.
      • There is a large amount of latency on the USB bus as well as software latency incurred due to processing the USB packets. There is practically no wire latency with PS/2 and the protocol is dead simple to parse. You can create a little microcontroller project to interface almost any simple device to a PS/2 port. With USB, you need a separate ASIC to even begin to get anything done.
      • USB controllers typically share interrupt levels with other PCI devices. On systems without an IO-APIC, this translates into increased software overhead on every interrupt, because the interrupt handler for every device sitting on that interrupt is invoked. Whereas with PS/2 devices, you have an IRQ reserved for the keyboard and an IRQ reserved for the mouse. Since they are edge triggered ISA interrupt lines, there is no possible way for them to be shared even if you wanted to. Therefore the correct interrupt handler (and ONLY the correct one) is invoked in response to a PS/2 event.

      In short, there is no possible way on any but the fastest of current machines for a USB mouse to approximate the responsivity of a PS/2 port mouse being sampled at 200Hz (the maximum rate the port will tolerate).

  15. USN by mysterious_mark · · Score: 5, Informative

    Actually, in the US Navy and other branches of the service radio messages all always in all caps. These were a pretty routine part of life on ship (for Officers / admin personnel etc) We would compose the messages on a PC w/ word processor, print hard copy, then have approved by CoC. Radio men would send them out encrpyed, hard copies were always kept for paper trail. A ship my send dozens or even hundreds of these a week, so the're quite common. There are a few who may need cap locks who aren't programmers. M

  16. Re:for actually using a computer (writing document by Ieshan · · Score: 4, Funny

    Are you trying to say that you hit the caps key twice for every capital letter you need to type that's not in a big row of them? You really hit the caps key at the start of every sentence?

    Yeesh, mate. Shift. SHIFT.

  17. Swap caps lock and control by ultrabot · · Score: 5, Insightful

    More useful than switching with escape is switching caps lock with Control.

    You should have:

    Option "XkbOptions" "ctrl:swapcaps"

    In the InputDevice section for your keyboard (in XF86Config, of course).

    Voila'! Ctrl assumes its rightful place on the keyboard. Ergonomic implications are massive.

    Equivalent hack is available for NT too. It's done via registry, but I can't be bothered to google for it right now.

    --
    Save your wrists today - switch to Dvorak
    1. Re:Swap caps lock and control by doom · · Score: 4, Interesting
      jesup wrote:
      Ah. A vi user. If you're an Emacs user, having the capslock key mapped to control is the ONLY way to fly. As others have said, that's the One True Position for the control key.
      That's the traditional position, I agree -- and I've never understood what the moron's were thinking who moved the standard control key location under the shift. But I'm an emacs user who's also using one of the kinesis contoured-model, programmable keyboards, and the Control and Alt keys are already very accessible under the thumbs (my numb-pinky-syndrome went away when I switched to the kinesis, I highly recommend them for heavy emacs abusers).

      There are a few really big flaws in the kinesis layout though, one is the damn Caps Lock next to the A, the other is a tiny chicklet Escape key way up in left field. But the Kinesis layout is easy to re-program, so I tried a few different re-arrangements and evenutally settled on making the key next to A another Escape, just like mister Vim-User recommends.

    2. Re:Swap caps lock and control by 1u3hr · · Score: 5, Interesting
      I've never understood what the moron's were thinking who moved the standard control key location under the shift.

      The (conspiracy) theory I've heard is that both Gates and Jobs were trying to kill off all the old DOS wordprocessors that used control keys extensively in the late 80s, particularly WordStar. So hardly any control keys were used in early Windows apps (mostly ALTs if anything), and Gates "encouraged" keyboard manufacturers to follow his layout that made Control less convenient. After the DOS apps were well and truly dead he allowed control keys to be used more. Perosonally I have CAPSLOCK and CONTROL swapped.

      Here's an interesting article excerpt:

      Ctrl-Z/X/C/V for Undo/Cut/Copy/Paste did not exist in the x86 world until IBM moved Ctrl out of the home row and Microsoft started moving its Mac applications to Windows. Through version 2.03, the applications bundled with Windows used Del for Cut, Ins for Paste, and F2 for Copy. Alt worked as it does today, and Ctrl sat there dead as a doornail. Check out Windows: the official guide to Microsoft's operating environment copyright 1986 by Nancy Andrews (Microsoft Press, ISBN 0-914845-70-5). It wasn't enough to have a (minimally) consistent interface; just like Jobs's (minimally) consistent interface, it had to be as inconsistent as possible with any other system folks might come across.
  18. Happy Hacking by yet+another+coward · · Score: 5, Informative

    Use the Happy Hacking keyboard. It has no Caps Lock. Its Control key is in the right place.

  19. scraping the bottom of the barrel! by bratgrrl · · Score: 4, Insightful

    This is one sad excuse of a story. Aren't there any leftover SCO blurbs to fill in?

    --

    ---

    SCO is weenies
    Gator is Spyware
    Microsoft is thugs

  20. Re:for actually using a computer (writing document by atarione · · Score: 5, Funny

    MY BAD, I ADMIT I WAS OUT FOR A BIT LAST NIGHT, and I'm not in top form i indeed got mixed up with the SHIFT KEY.

    I appologize to Slashdot and to the "Shift Key" for any Confusion on my part.... again my bad.

    in a pinch caps lock might work as a "ANY" key???

    --
    actually I am happy to see you, however that is in fact a banana in my pocket.
  21. Engineering Drawings by pipingguy · · Score: 4, Interesting


    95.84% of all engineering drawings (for bridges, airplanes, refineries, etc.) use all caps. Even though we textually shout at the fabricators/contruction guys, every now and then someone installs a checkvalve backwards or forgets to grout some 10,000# machinery.

    I figure the original forced use of caps on these drawings is (was) to force the draftsmen to raise the writing instrument for each letter, so as to avoid the sloppy penmanship that usually accompanies cursive.

  22. I use it. by mooredav · · Score: 4, Funny

    In fact, I'm developing an application right now that requires Caps Lock.

    Press CAPS LOCK to proceed.

    Press SCROLL LOCK to cancel.

    Please don't take my CAPS away from me!

  23. Re:for actually using a computer (writing document by tftp · · Score: 4, Insightful

    What if he types with only one finger?

  24. The Military, for starters by Akardam · · Score: 4, Informative

    I'm a navy reservist, and although the Navy and the other branches of the armed forces are moving towards computerization of almost every aspect of information management, oft times you'll find that because of some arcane requirement for filling out a form or other type of data entry, you're required to use all caps. However, in many cases, the program that was written to replace forms with this requirement won't enforce the capitalization, much less actually automatically capitalize everything. You say it's dumb, I say it's dumb, and all the staff we have say it's dumb. But, in the mean time, they have to live with it, and having the caps lock key makes it all the more bearable.

  25. Here's the official way of remapping keys: by Futurepower(R) · · Score: 4, Informative


    Here's the official way of remapping keys in Windows XP and Windows 2003 Server:

    1) Download the Resource Kit Tools.

    2) Run Remapkey.exe to Remap the Windows Keyboard Layout anyway you want.

    For some very strange reason, this sometimes does not work reliably in a DOS window when using a PS/2 to USB converter for the keyboard. Since the remapping is done at a fundamental level, the failure is difficult to understand.

  26. Re:It should be replaced... by whiteranger99x · · Score: 5, Funny

    All I know is that everytime I play Diablo 2 or another game, the Windows Key become the absolute BANE OF MY EXISTENCE! X(

    --
    Join the TWIT army now!
  27. Capslock is used all the time in the corp world. by Viewsonic · · Score: 4, Informative

    Especially in financial businesses (Banks etc) .. Printing out checks and certain forms will always be done in CAPS so as to not confuse the other parties. I find it a bit silly because one person hasn't used it, it must mean that no one else does. Sure, home users might not find much use out of it, but in the business world it is used everyday. And the business world makes up the majority of PC sales in the world.

  28. Dear Slashdot by Pan+T.+Hose · · Score: 5, Funny

    Dear Slashdot,

    Very recently, to my unimaginable surprise, I have noticed that I haven't used the tilde key for any purpose other than hitting it by accident. I know that once upon a time people were using the tilde key. They were using it like there was no tomorrow. I don't use it now, though, which makes me very sad. Does the tilde key serve any purpose any more? Does it still serve any purpose whatsoever? If not, will it ever serve a purpose? Will it ever make any sense? If not, should it be removed, moved, or replaced? If so, will we be able to see it in museum? What if later I find some use for this key, but it will have been gone long ago? What then? What will be the future of this little key? What, I ask?

    Thank you very much, Slashdot, for your answer!

    Sincerely,
    Concerned reader.

    P.S. I love reading Slashdot and especially the Ask Slashdot section, when people always ask so interesting questions! THANK YOU VERY MUCH! (Oh, God damn it! I used caps lock!)

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  29. I use it all the time by ShieldW0lf · · Score: 5, Funny

    There are all sorts of programming situations where having a caps lock key helps keep things readable. For example...

    SELECT *
    FROM tblWhatever a
    INNER JOIN tblYaddaYadda b
    ON a.ID = b.ID
    WHERE b.foo = 1

    Not to mention data entry work... lots of places that do data entry use all caps.

    Oh, and did I mention that THIS IS A STUPID ARTICLE? SURELY THERE MUST BE SOMETHING EXCITING ENOUGH GOING ON IN THE WORLD THAT WE DON'T NEED TO PUT THIS CRAP ON THE FRONT PAGE OF THE SITE?

    --
    -1 Uncomfortable Truth
  30. How to defeat 13-year-old AOLers by Schattenfreude · · Score: 5, Funny

    My little brother used to sneak on my computer all the time before he got a decent laptop, and I'd always be annoyed to find the caps lock key on from whatever flaming/shouting/n00bing he was doing there. So one day I remapped caps lock to switch to a Cyrillic keyboard--it helps a lot with my Russian homework, and I never did find it enabled again after my brother had been using my computer.

  31. No, but Reagan is. by Sean+Clifford · · Score: 4, Interesting
    No, but Reagan is.

    I use the hell out of caps lock; it's my "prone" key in FPS shooters. Others use it for radio, etc. Aside from games though, I don't use it overmuch.

  32. Caps Lock has another very important purpose by commodoresloat · · Score: 4, Funny

    YELLING!!!

  33. Re:I use it all the time by Frobnicator · · Score: 5, Insightful
    I've never understood the 'need' people have to capitalize SQL. It's not case sensitive. If one has a decent syntax highlighting editor, then the capital's don't help at all!
    It's a style thing. It's also the common style used almost everywhere.

    You say it doesn't help if you have a syntax highlighting editor; you can't count on having a syntax highlighted editor all the time.

    While I think there are benefits to it, many interns that I've worked with seem paralyzed if they don't have syntax highlighting. A few are paralized if they don't have auto-complete. If the code REQUIRES syntax highlighting to be understandable, clearly you need to adopt a different style.

    If you don't have SQL syntax highlighting, the more complex the SQL statement is the more it benefits from the all-cap keywords. That in itself is enough to justify (for me) it's use. Since I compose my SQL statements in my C++ interface code, I don't have SQL syntax highlighting; the C++ editor highlights them all as strings. Using caps really helps readability, especially when the SQL statements are complex and require several lines to compose.

    --
    //TODO: Think of witty sig statement
  34. Using Caps Lock *instead* of Shift! by MooseGuy529 · · Score: 4, Funny

    I have a cousin who comes over to my house for holidays (Thanksgiving, Christmas, etc...), and he used to run a web page. I was showing him some stuff, and he went to go update the page. I noticed he was typing pretty slowly, especially around capitals, and then I looked down at the keyboard...

    He was using Caps Lock twice for each capital letter!

    Like instead of [SHIFT]H[/SHIFT]ello, world! he would do [CAPS LOCK/]H[CAPS LOCK/]ello, world!...

    It was truly painful to watch. So, I told him, you shouldn't use the Caps Lock key like that, because that's what Shift is for! At the time, he got annoyed at me and said something like, I've already learned it this way, it's quicker for me...

    Lo and behold, the next time he runs into me, he says thanks, I can type much faster now... it's now become a sort of joke between the two of us...

    I can't figure out where he would learn that from, though... any ideas?

    --

    Tired of free iPod sigs? Subscribe to my blacklist

  35. Capslock? What's that? by jeff_brh · · Score: 5, Funny