Tech Off Post

Single Post Permalink

View Thread: Class Design
  • User profile image

    blowdart wrote:

    See to me a constructor that takes everything is cleaner than 10 property set calls.

    Ah, time for a religous war on this issue.

    What do you mean, something like a collection (array) that would set all the properties. An array is passed in and the Alarm's sub new would iterate through the array and set all the properties.