Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8691263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:05:19+00:00 2026-06-13T00:05:19+00:00

I am currently working on a project that incorporates several different programming languages, each

  • 0

I am currently working on a project that incorporates several different “programming” languages, each of which have their own conventions for how things should be named. Should the same naming convention be used throughout, or should names be different in each language to have a native look (ie not clash with the rest of the framework)?

For example, ths project uses MongoDB(BSON), C#, JSON, and Javascript. Right now I name things in each layer with that layer’s convention and then have code between each layer to translate, say from BSON to the C# model. On the other hand, MongoDb would do this automatically if the naming convention was the same.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T00:05:20+00:00Added an answer on June 13, 2026 at 12:05 am

    Twenty-something years ago, when I was just starting my professional career, I’d probably agree with Paul and say “Go for a universal naming conventions!”. 🙂

    Today my answer is different. Coming up with a decent naming conventions is a challenging task even when you are dealing with one programming language. Having universal conventions for multiple languages/frameworks is a noble goal and excellent brain teaser, but in general I don’t think it’s feasible. The syntactic and lexical rules of different languages/frameworks are way too diverse to make “one size fit all”. Besides, the set of the employed languages/frameworks can change at any time, and appropriate adjustment of your “universal conventions” could turn out to be prohibitively expensive or prohibitively untimely.

    So I would recommend to focus primarily on solid and decent conventions for each language/framework (or for each group of languages/frameworks that are sufficiently similar – like C and C++, for instance). One nice outcome of this approach is that the projects involving only one language would have to adhere to a set of conventions that does not look “foreign”.

    Having said all that, I believe that some conventions can be common for all the involved languages/frameworks without becoming too “foreign”. Moreover, such thing as vocabulary should be common for entire project. This is mostly about semantic and lexical rules, of course; but even some syntactic rules can be universal, too. For example:

    • Lexical rules for entity names (e.g. “always use singular nouns”).

    • Lexical rules for acronyms (e.g. “use only wide-known acronyms”).

    • Syntactic rules for composite names (e.g. “always use general-then-specific sequence”).

    The examples above are oversimplified, of course. But I hope the idea is clear: whatever conventions can be common should be common, but it’s always going to be just some subset of all the conventions that you need.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently working on a project that contains many different Eclipse projects referencing each
I am currently working on a project that involves splitting a url. I have
I'm currently working on a project that incorporates jquery.cookie.js plugin. The problem is that
I'm currently working on a project that uses data access on different databases. Our
I'm currently working on a project that needs to have a process that assigns
I'm currently working on a project that requires that I have a div stacked
I am currently working on a project that involves many subprojects that all have
I am currently working on a project that requires me to display PDF documents
I am currently working on a project that implements Azure ACS. I got the
I am currently working on a project that is looking at having a database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.