46

Are you Underscore or camelCase ?

Comments
  • 32
    Whatever is the convention for the language / project I'm using, really.
  • 40
    RanDOmcAse
  • 9
    Kebab case ftw
  • 3
    Underscore_guy obviously
  • 9
    All Pythonista are underscores
  • 33
    ijustWantTo_watchTheworld_Burn
  • 8
    Either option requires a shift.

    And I don't like changes...
  • 8
    CamelCaseUntillTheEnd
  • 4
    AlTeRnAtInGcAsE
  • 3
    PascalCase or camelCase for the win.
  • 6
    mostly edge case. :)
  • 1
    underScore_ofCourse
  • 2
    @SirusAmory BrEezERLaNguAge!
  • 13
    💼 brief_Case
  • 5
    got_to_keep_it_pythonic
  • 7
    CamelCase. But when I was 18-19 my summer job was as the front half of a camel in a theme park, so I'm kind of biased.
  • 1
    i am thinking about making a small app that takes up a string and outputs a randomcase name.
    the names of the class and methods in this app will be underscore case.
  • 3
    Camel case variables pascal case methods / classes
  • 4
    ItDependsMethod or CONSTANT_VALUE
  • 1
    I naturally use camelCase but the people above me use under_score so I'm trying to use that
  • 2
    camelCaseAllTheWay!
  • 1
    Functions: camelCase
    Variables: _underscore
  • 2
    @linuxer Except when naming classes which are camel case, or standard library functions which are all lower case...
  • 2
    both but _underScore for private fields, UpperCase for public properties, lowerCase for parameters and variables
  • 2
    camelCase
  • 4
    all JS dev prefer camelCase
  • 1
    someTimes_youNeedBoth
  • 3
    I use camelCase, it's quicker for copy and paste. Double click a word, the selection stops at the next/previous special character.
  • 2
    iLoveCamelCase.
  • 1
    MyCodeIsSuchA_mess_thatI_useBoth_haHahhHahah_a
  • 1
    Whatever is used in the current project I'm working on.

    Unless it is a personal project, then it's Underscore, because I have an instinct to hold shift on the first letter. But if I pause to think, camelCase.
  • 2
    Underscores in C/C++
    Pascal/Camel for C#
  • 3
    camelCase for life
  • 2
    // Use for each variable declaration
    function pickCase () {
    var caseOptions = [
    'pascal',
    'camel',
    'kebab',
    'underscore'
    ];
    return caseOptions[Math.floor (Math.random() * caseOptions.length)];
    };
  • 6
    THANK YOU ALL. For all your comments and your funny comments. You make me laugh so hard. I love the devRant community you are amazing !
  • 0
    underScore
  • 4
    CamelCase FTW. Why go out of my way to type an extra character, making longer and less pretty variable or function names?
  • 0
    I'd like to elaborate on my comment. I do prefer camel case, but I will follow suit. I tend to use hyphens for things in WordPress, because it's picky like that. Then in MySQL I'll use underscores for table names, the cPanel username gets hard coded with an underscore prior to my table name. I think mixing the two looks silly.
  • 1
    camelCase ftw.
  • 1
    WhataboutthiscasE
    BestcasE
  • 0
    Nobody pushing WaRlOrDzCaSe?
  • 2
    Space case.
    Real answer: capitals is easier to type than an underscore, so I'm a 🐪 case man.
  • 0
    underscore_case in Python and camelCase with the rest
  • 0
    @minci

    Thats pascal case actually 😂
  • 4
    camelCase... It's much prettier
  • 3
    CamelCase ftw ❤
  • 0
    ;?ELE' ;?PHA' ;?NTC' ;?ASE'
Add Comment