News for hackers. Stuff that matters.
Re:Use caps lock as a language switch by marinintim on Thursday September 15, 2016 @07:39PM (#12510776)
Do you program in SQL? (I've just pressed Shift and released it after I typed SQL, hey)

Using Caps Lock for its intended purpose means that it's another mode that you need mental resources to keep track of.

Historical aside that's not related to your comment: early Soviet computers modeled after IBM PC had Latin key, that basically worked like Shift, but it changed layout from Cyrillic to Latin and vice versa. This idea died after MS Windows, that didn't (and still doesn't? I don't know) have this option, took over the market.

Re:Use caps lock as a language switch by jimmaswell on Thursday September 15, 2016 @08:23PM (#12511039)
Has anybody seriously been mentally bogged down by confusion from keeping in mind that they have caps lock on? That sounds entirely implausible.
Re:Use caps lock as a language switch by JBiserkov on Thursday September 15, 2016 @08:37PM (#12511107)
There is an option in pgAdmin to automatically capitalize keywords. Last I checked though it capitalizes them only in pgAdmin - the actual .sql file is lowercase.
Re:Use caps lock as a language switch by flukus on Thursday September 15, 2016 @09:18PM (#12511258)
People still use all caps for Sql?
Re:Use caps lock as a language switch by majewsky on Friday September 16, 2016 @05:58AM (#12512908)
I like to write the keywords in upper case to visually separate them from table/field names.
Re:Use caps lock as a language switch by flukus on Friday September 16, 2016 @06:49AM (#12513071)
Doesn't syntax highlighting do that?
Re:Use caps lock as a language switch by majewsky on Friday September 16, 2016 @08:21AM (#12513491)
When I do SQL, it's usually SQL over psql over SSH-to-database-server. And it's uncommon enough to not warrant any time investment into how to get psql syntax-highlighted.
Re:Use caps lock as a language switch by sbuttgereit on Thursday September 15, 2016 @08:10PM (#12510970)
I write quite a lot of SQL and PL/SQL. Yes, I use Caps Lock as intended.