3 ms·
Then I'd change it to a property and recompile. If it's value comes from the database or a web service then nothing has to change, whatever is calling the servi
by flukus 9y ago
Then I'd change it to a property and recompile. If it's value comes from the database or a web service then nothing has to change, whatever is calling the service will invoke the constructor as always.
The only exception here is for public APIs, but that's a minority of projects.
- zmmmmm 9y ago> Then I'd change it to a property and recompile You mean, change it to a property, then fix dozens or hundreds of references, possibly in downstream dependencies some of which aren't under your control and can't be changed. Sounds fun.