Closed distantnative closed 2 weeks ago
Restructures Xml::attr() and Xml::create() to enable some early returns and untangle/flatten the code.
Xml::attr()
Xml::create()
Easier to read/understand/maintain if we can have early returns and not bother anymore about those cases when reading along.
Description
Summary of changes
Restructures
Xml::attr()
andXml::create()
to enable some early returns and untangle/flatten the code.Reasoning
Easier to read/understand/maintain if we can have early returns and not bother anymore about those cases when reading along.
Ready?
Unit tests for fixed bug/featureFor review team