Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I have written many codes using OOPS and I am still to understand when is a code good enough to be accepted by experts. The thought procedure of every man is different and so is the design. My question is should I do something in particular to design my programs in such a way that they are good enough to be accepted by people.
Other thing I have also read Head First Object Oriented Design but at last I feel that the way they design the problems is much different I would have designed them.

share|improve this question

closed as not a real question by Robert Harvey, ChrisF Oct 11 '12 at 20:50

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

2 Answers 2

Code is good enough when it satisfies the customer's requirements for functionality, performance and maintainability.

That's it. If you can accomplish those things with your approaches, more power to you.

Best practices are learned by gaining experience in coding design, and studying the design practices of others. Over time, you will discover those practices that yield consistent results, and other practices which are ultimately unproductive.

share|improve this answer
    
Can I leave everything on the customer means he might not have that much knowledge and can receive what he wants even though if it is not done in good way! –  Vaibhav Agarwal Oct 11 '12 at 20:46
1  
Sometimes the customer just wants you to ship. The first, buggy implementation of a product often wins in the marketplace over the perfectly-polished, but late to the market product. –  Robert Harvey Oct 11 '12 at 20:49
add comment

should I do something in particular to design my programs in such a way that they are good enough to be accepted by people

I don't agree with this approach. You shouldn't be designing your application for the sake of having some design patterns implemented there. Design patterns are used to solve some specific type of problems/challenges that your software project is facing.

Keeping your code as simple as possible should be the best design approach. In another words, KISS and YAGNI are the best guidelines in the design process.

As well as, Solid-development-principles should be the way to improve your application code base, as needed.

share|improve this answer
1  
Damn, I should have said KISS and YAGNI in my answer. And SOLID. And... –  Robert Harvey Oct 11 '12 at 20:51
    
Agree, with you... SOLID principles should always be in out tool belt ! –  Yusubov Oct 11 '12 at 20:53
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.