News for hackers. Stuff that matters.
Re:How Can We Achieve Age Diversity in Silicon Valley? by recursive on Monday October 19, 2015 @01:56PM (#10414486)
With private set; you still have to invoke the setter in the constructor. For some cases, it's more readable to have the value of the property calculated in the same place that the property is declared.

Also, when reading code, private set; doesn't guarantee that the property is reassigned elsewhere in the class. You have to read the whole class to verify that.

There are no comments on this comment yet.