News for hackers. Stuff that matters.
Re:CamelCase vs. underscores: Scientific showdown by Someone1234 on Tuesday March 03, 2015 @11:36AM (#9138578)
I really like underscores for two word variable names. It only becomes a problem when you have variable names which are overly long, and your eyes have to move further.

     if(Accounts_Orders_Invoices_Table.Order_Invoice_Number == Order_Invoice_Number){ ...}    
     if(AccountsOrdersInvoicesTable.OrderInvoiceNumber == OrderInvoiceNumber){ ... }    
But I don't really care that much. I'll just do whatever everyone else is doing. At least camcelCase keeps me from reaching for the _ as much and allows me to stay on the A-Za-z more of the time...
Re:CamelCase vs. underscores: Scientific showdown by kbenson on Tuesday March 03, 2015 @11:50AM (#9138705)
In my preferred language, CamelCase is often used to class names, and underscores for function/method names (as mentioned as in the article). Then again, my preferred language uses sigils so I don't need to rely on convention to differentiate things as much as some other languages.
Re:CamelCase vs. underscores: Scientific showdown by hga on Tuesday March 03, 2015 @12:02PM (#9138800)
Agreed, although I still find '_' to be a lot more clear.

Lisps, by not reserving '-', and following convention:

  (println are-the-clearest-and-easiest-for-me)
Also see my other comment.
Re:CamelCase vs. underscores: Scientific showdown by amyjess on Tuesday March 03, 2015 @12:32PM (#9139061)
Personally, I'm fond of Algol style, where spaces are permitted in identifiers.

Man, Algol 68 was really ahead of its time... too bad it never caught on.

Re:CamelCase vs. underscores: Scientific showdown by rejected_value on Tuesday March 03, 2015 @12:38PM (#9139112)
Your first example is actually a mutant hybrid of camel-cased underscores.

Observe:

  if(accounts_orders_invoices_table.order_onvoice_number == order_invoice_number){ ...}
Versus yours:

  if(Accounts_Orders_Invoices_Table.Order_Invoice_Number == Order_Invoice_Number){ ...}
I would be, perhaps, moderately ticked off to have to have to deal with code that looked like that, and used both, in a real world scenario.
Re:CamelCase vs. underscores: Scientific showdown by Someone1234 on Tuesday March 03, 2015 @01:56PM (#9139759)
Fair point. That was more my laziness in creating the fictional example (I just added the _ to the camelCase).
Re:CamelCase vs. underscores: Scientific showdown by kbd on Tuesday March 03, 2015 @11:55AM (#9138755)
> At least camcelCase keeps me from reaching for the _ as much...

Among the many reasons I prefer Dvorak is that dash/underscore is on the home row.

Re:CamelCase vs. underscores: Scientific showdown by dubya on Tuesday March 03, 2015 @12:14PM (#9138893)
If it's really a problem, couldn't you map maybe shift-space to underscore?