What naming convention one should use for his layout of a program, because there are many naming convention any of the programing language provide, so provide me basic convention that would be widely used and that would be necessary.
What naming convention one should use for his layout of a program, because there are many naming convention any of the programing language provide, so provide me basic convention that would be widely used and that would be necessary.
Naming conventions for java make programs more understandable by making them easier to read. They can also give information about the function of the identifier-for example, whether it's a constant, package, or class-which can be helpful in understanding the code.
Packages
The prefix of a unique package name is always written in all-lowercase ASCII letters and should be one of the top-level domain names, currently com, edu, gov, mil, net, org,
Classes
Class names should be nouns, in mixed case with the first letter of each internal word capitalized. Try to keep your class names simple and descriptive.
Interfaces
Interface names should be capitalized like class names.
When designing a database it's a good idea to follow some sort of naming convention. Table names should not contain spaces, words should be split_up_with_underscores.
Namespaces
Use CompanyName.TechnologyName as root. If you don't have a company, use your domain name or your own initials. Note that any acronyms of three or more letters should be pascal case (Xml instead of XML) instead of all caps.
Classes and Structs
no underscores or leading "C" or "cls". Classes may begin with an "I" only if the letter following the I is not capitalized, otherwise it looks like an Interface.
Microsoft SQL Server databases in some examples, but can be used generically with other RDBMSs like Oracle, Sybase etc. too.
A design decision to put the secondary content (#right-col) to the right of the main content area (#left-col) completely invalidates the document’s model. The "ux" naming convention for controls is something I have added and found to be helpful. It is not based on any official standards, but instead based upon a multitude of projects by my teams and others, as well as on-line discussions on the topic.
Bookmarks