Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > Re: Compressing...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 45779 of 48020
Post > Topic >>

Re: Compressing syntax/code, a testcase

by Christopher <cpisz@[EMAIL PROTECTED] > May 6, 2008 at 12:47 PM

On May 6, 10:22 am, dizzy <di...@[EMAIL PROTECTED]
> wrote:
[snip]
> How do you people solve similar issues?

Coding standards per project.
i.e
All code in this project will use exceptions for error handling.
All text parameters will be in the form of const char * ( a string can
always call c_str() )

Design decisions
i.e
Permissions are a parameter or they aren't.
If a directory exists, no operation is performed.


Trying to cover every combination is a wasted and bloated effort IMO.
You cannot cater to everyone, but you can be consistent.
Spending too much time and providing that many options for something
as simple as making a directory would get me fired.

There is a time when one can program too generically.
 




 6 Posts in Topic:
Compressing syntax/code, a testcase
dizzy <dizzy@[EMAIL PR  2008-05-06 18:22:49 
Re: Compressing syntax/code, a testcase
Christopher <cpisz@[EM  2008-05-06 12:47:08 
Re: Compressing syntax/code, a testcase
dizzy <dizzy@[EMAIL PR  2008-05-07 10:48:15 
Re: Compressing syntax/code, a testcase
James Kanze <james.kan  2008-05-07 03:09:24 
Re: Compressing syntax/code, a testcase
dizzy <dizzy@[EMAIL PR  2008-05-07 15:39:35 
Re: Compressing syntax/code, a testcase
James Kanze <james.kan  2008-05-09 02:24:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 9:05:17 CDT 2008.