Results 1 to 2 of 2

Thread: c++ coding standards

  1. #1
    Join Date
    Jan 2006
    Location
    Gloucester, UK
    Posts
    18
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default c++ coding standards

    I've been reading a few sites about coding styles and true to form they are all contradictory.
    Does it really matter as long as your are consistent?

  2. #2
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: c++ coding standards

    THe contradictions you found are quite normal... Not everyone agrees about coding standards. If you have a look at some source code formatters (e.g. Astyle) you'll see that there are several different "standards" but of course the only thing that realy matters is consistency within a source tree. Keeping in mind that coding standards are supposed to make code easier to read is also important
    Last edited by fullmetalcoder; 1st May 2008 at 09:12.
    Current Qt projects : QCodeEdit, RotiDeCode

Similar Threads

  1. coding style
    By mickey in forum General Discussion
    Replies: 2
    Last Post: 16th March 2008, 18:19
  2. QT Designer? Coding by hand?
    By lewis in forum Qt Tools
    Replies: 47
    Last Post: 2nd April 2007, 16:30
  3. Qt Coding/Design Standards
    By bpetty in forum Newbie
    Replies: 6
    Last Post: 17th February 2007, 09:15
  4. Coding style about pointer
    By vql in forum General Programming
    Replies: 4
    Last Post: 5th February 2007, 08:07
  5. what will be the coding for Menu->File->open
    By jyoti in forum Qt Programming
    Replies: 3
    Last Post: 10th November 2006, 12:16

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
  •  
Qt is a trademark of The Qt Company.