Socratrees

  • Recent
  • Info
  • Sign up for beta
  • Log in

Underscore formatting is more suitable than camel case formatting for code

3
9
posted Feb 7, 2018
https://whathecode.wordpress.com/2011/02/10/camelcase-vs-underscores-scientific-showdown/ – Whathecode Feb 7, 2018 12:56

Supporting

3
  • Underscore formatting of code resembles natural writing more than camel case formatting
    3
    0
    3
    0
  • Underscore formatting of code can be applied more consistently than camel case formatting
    2
    2
    2
    0
  • Underscore formatting of code is faster to read than camel case formatting
    2
    2
    4
    1
  • Camel case formatting of code is ugly
    0
    0
    2
    0

Opposing

0
  • Camel case formatting of code is easier to type than underscore formatting
    0
    1
    1
    0
  • Camel case formatted code is shorter than underscore formatted code
    2
    0
    2
    0
  • Camel case formatting is used by convention in most major programming languages
    2
    0
    2
    0
  • Underscore formatting of code is ugly
    1
    0
    1
    0
  • Similarly-named camel case identifiers are easier to distinguish between than underscore-formatted identifiers
    1
    0
    1
    2

Current branch

Loading ...

Used in

This statement is not used in any other statement.

The inverse is not used.