Thread: Design and Style Tips

  1. #1
    Registered User
    Join Date
    Apr 2002
    Posts
    110

    Design and Style Tips

    Just wondering what design and style techniques should be adhered to when developing a c++ namespace for use by the general public.

    On a side note, if anyone has any requests for items they would like to see in a mathematical related namespace then please post your opinions.

    Later,
    WebmasterMattD
    WebmasterMattD.NET

  2. #2
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    What do you mean "the general public"? Most end users of the programs we write won't ever see the underlying source code or even know about "namespaces". If you mean the "general programming community" or those who look at source code, then using consistent indentation, consistent approach to use of names for functions and variables, and a judicious use of comments seems the best approach in general. How you break up the pieces will depend on how big a project you are working on, who is working on each piece, etc. Those are things you can dictate from above, if you are project leader, or derive from concensus if you want to use a more democratic process.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why hasn't the markup language model been popular for visuals outside web design ?
    By indigo0086 in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 01-19-2009, 11:10 AM
  2. Is it bad style of coding ??
    By noobcpp in forum C++ Programming
    Replies: 15
    Last Post: 11-06-2008, 10:39 AM
  3. Style Points
    By jason_m in forum C Programming
    Replies: 4
    Last Post: 05-28-2008, 06:15 AM
  4. page design
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 38
    Last Post: 07-09-2004, 04:01 PM
  5. GUI Design for the first time!
    By westie in forum C Programming
    Replies: 5
    Last Post: 11-22-2001, 11:45 PM