What do you do when working with multiple languages with different capitalization schemes?
        Posted  
        
            by 
                dvcolgan
            
        on Programmers
        
        See other posts from Programmers
        
            or by dvcolgan
        
        
        
        Published on 2011-11-17T15:51:20Z
        Indexed on 
            2011/11/17
            18:08 UTC
        
        
        Read the original article
        Hit count: 291
        
I'm making a webapp using Django. The Python convention for naming variables is lowercase_with_underscores, but the Javascript convention is camelCase. In addition, I've seen many people use lowercase-with-hyphens for CSS identifiers.
Would you suggest using all three naming conventions where appropriate, or picking one and using it, even if the other two recommend something else? Switching back and forth isn't a huge problem, but it can still be mental overhead.
© Programmers or respective owner