Possible Duplicate:
What do you do when working with multiple languages with different capitalization schemes?
When mixing programming languages, is it a best practice to use different standard conventions for different languages?
The standard naming convention for variables and functions in Ruby uses underscores: new_date.
In JavaScript it is CamelCase: newDate.
Would you use both conventions within the same app? Does it get confusing remembering which convention goes with which language?
By the way, the naming example above is just one or many conventions. Others include formatting, etc.