Skip to main content
Code Review

Return to Question

replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

After my question on StackOverflow my question on StackOverflow, I've written code that should create a Config class from an XML file. XML loading is mixed with structures declaration and break in a lot of small pieces.

After my question on StackOverflow, I've written code that should create a Config class from an XML file. XML loading is mixed with structures declaration and break in a lot of small pieces.

After my question on StackOverflow, I've written code that should create a Config class from an XML file. XML loading is mixed with structures declaration and break in a lot of small pieces.

edited body
Source Link
BCdotWEB
  • 11.4k
  • 2
  • 28
  • 45

After my qeustionquestion on stackoverflowStackOverflow, I've written code that should create a Config class from an XML file. XML loading is mixed with structures declaration and break in a lot of small pieces.

After my qeustion on stackoverflow, I've written code that should create a Config class from an XML file. XML loading is mixed with structures declaration and break in a lot of small pieces.

After my question on StackOverflow, I've written code that should create a Config class from an XML file. XML loading is mixed with structures declaration and break in a lot of small pieces.

added 6 characters in body; edited title
Source Link
Jamal
  • 35.2k
  • 13
  • 134
  • 238

load Loading config file from xmlXML

After my qeustion on stackoverflow, I've wrotewritten code that should create a Config class from xmlan XML file. XmlXML loading is mixed with structures declaration and break in a lot of small piecies however i'mpieces.

However, I'm not sure if this is bad or good. How would you refactor code belowthis? Probably some simple design pattern can be used, but again, I'm not sure that I should use design patternpatterns for such simple things as xmlXML loading.

load config file from xml

After my qeustion on stackoverflow, I've wrote code that should create Config class from xml file. Xml loading is mixed with structures declaration and break in a lot of small piecies however i'm not sure if this is bad or good. How would you refactor code below? Probably some simple design pattern can be used but again I'm not sure that I should use design pattern for such simple things as xml loading.

Loading config file from XML

After my qeustion on stackoverflow, I've written code that should create a Config class from an XML file. XML loading is mixed with structures declaration and break in a lot of small pieces.

However, I'm not sure if this is bad or good. How would you refactor this? Probably some simple design pattern can be used, but again, I'm not sure that I should use design patterns for such simple things as XML loading.

added 635 characters in body
Source Link
Oleg Vazhnev
  • 671
  • 5
  • 9
  • 24
Loading
Loading
Source Link
Oleg Vazhnev
  • 671
  • 5
  • 9
  • 24
Loading
default

AltStyle によって変換されたページ (->オリジナル) /