Results 1 to 4 of 4

Thread: Naming convention used for layout of Program

  1. #1
    Join Date
    Apr 2009
    Posts
    65

    Naming convention used for layout of Program

    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.

  2. #2
    Join Date
    Nov 2008
    Posts
    41

    Re: Naming convention used for layout of Program

    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.

  3. #3
    Join Date
    Apr 2008
    Posts
    88

    Re: Naming convention used for layout of Program

    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.

  4. #4
    Join Date
    Oct 2008
    Posts
    167

    Re: Naming convention used for layout of Program

    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.

Similar Threads

  1. Replies: 3
    Last Post: 31-07-2013, 11:26 AM
  2. Elevated CPU convention every time, yet after format
    By The Picture in forum Hardware Peripherals
    Replies: 6
    Last Post: 18-10-2011, 07:23 AM
  3. L.A. Noire game, naming convention for Title updates
    By Lol$prakash in forum Video Games
    Replies: 2
    Last Post: 07-10-2011, 12:03 AM
  4. drive naming issues...
    By Jarredfw in forum Hardware Peripherals
    Replies: 7
    Last Post: 16-09-2009, 06:17 PM
  5. Naming Conventions in java
    By Nihar Khan in forum Software Development
    Replies: 3
    Last Post: 12-08-2009, 02:44 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,726,362,856.75341 seconds with 17 queries