Baseball Nooby
I'm a noob at basically everything.
Friday, May 29, 2009
All Side Effect
Pretty sure this fails to conform to the intended use of properties:
int
_alarmEventCount = 0;
public int
alarm {
set
{ _alarmEventCount += 1; } }
Not my code, but by a coworker who is good, so I'm sure there's a logical reason how it came about.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment