- Dec 12, 2012
the purpose of the adapter, is to give a common interface to the client. its fine if it gets modified by the user as long as the api remains the same.
Its not fine to modify library code because then you could also just let the user directly modify the GetUnitArmor library code. A user should never have to modify a library, but just cofigure and use it.
having to use <x> exists directly on the resource is kinda shitty from my point of view.
"Because I think its shitty" is not an argument. Its an implementation detail anyway and its a perfectly clean solution because it allows users to implement their code seperatly from the library which uses that code.