OOP - design patterns that deal with configuration classes [closed] - oop

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Are there any design patterns that deal directly with configuration classes. Thats is, classes that are simply containers for configuration settings.

I usually tend to use constants for global settings. Not everything must be a class.
Some will tell you that a Singleton pattern is fit here, but I think different. Singletons are evil. See this question on Programmers

Related

Is it bad to use a lot of polymorphism? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I've heard that using a lot of polymorphism is bad and that it's better code design to avoid polymorphism where ever possible. Is this true?
you probably heard that about Inheritance. The design principle being favor object composition over class inheritance.
No, quite a few design patterns are implemented primarily using polymorphism. The factory pattern is one of the more common patterns that use it.
It is a fundamental part of object oriented programming.

How to protect a base class from causing errors in its subclasses? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
One of the disadvantages of inheritance is that the superclass and its subclasses are very tightly coupled. A lot of resources (e.g. SO) say to compensate for this by being 'cautious' when writing a class that might be subclassed.
Are there any guidelines about what precautions you should take, or testing processes to go through to make sure your base class is safe? Or do you just have to try to predict all potential subclass behavior?
Do as little as required in the parent classes. If you must do more complex operations then separate them into logical pieces, putting each piece in a different method so that children can override them as appropriate.

What is the best versioning way by a project [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
It is very confusing with versioning. I saw lots of versioning samples. Some of them contains even subversion information. Many of them looks ok.
0.5
0.1.0
0.0.1.0
5.5.5.2_R139
...
What is the best practise/best way for software-versioning?
This is rather a topic for the programmers IMHO. You may want to take a look at this post, where several approaches are discussed.

Is COM outdated in development [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to be a GIS developer.
I know .net.
Is com essential for Developer.
Or com is outdated.
In which way i need to go.
Please guide me.
Com isn't the preferred method of doing things. However, as with many things, sometimes there are no other options and you are forced to use it.

What is the best ORM framework and why? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
What is the best ORM Object Relational Mapping framework or architecture in your opinion, And why??
Hibernate.
There is a community support behind it. It s widely used. Easy to learn and use.
Hibernate is good documented, has support in other frameworks like Spring. Also implements JPA so it's definitly good choice.