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.

when I develop a RCP application I always ask myself should I do it 'by hand' or should I use the XML configuration? Is it only a matter of taste, what benefits am I missing when I don't use the configuration approach. Is there anything to think of when converting an RCP app to e4 in the future?

Thanks for sharing your thoughts!

Thomas

share|improve this question

closed as primarily opinion-based by MichaelT, gnat, GlenH7, Bart van Ingen Schenau, Dan Pichelman Dec 2 at 15:01

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

3 Answers 3

up vote 1 down vote accepted

Even though sometimes it's easier and/or faster to solve a problem programmatically, I always try to find a way to do something using the xml configuration approach.

As blueberryfields said, the less code you have to write and maintain, the better.

share|improve this answer
1  
'Try to find a way...' is pretty much the reason why I asked this question in the first place. Sometimes it's very hard to do so and you are tempted to write it on your own. –  th_reiche Feb 2 '11 at 19:33

I would go for the configuration approach - the less code I have to write and maintain, the better.

share|improve this answer

As someone that dealt with the trainwreck known as Eclipse RCP for a while - go with the XML configuration. If not you're just going to have to go back and hand edit changes later.

share|improve this answer

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