Timeline for Simple class exercise using the "this" pointer
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 12, 2013 at 16:26 | history | edited | Jamal | CC BY-SA 3.0 |
deleted 332 characters in body
|
Sep 12, 2013 at 16:03 | comment | added | Jamal | @AntonGolov: Okay. I suppose I'm still unsure about what exactly breaks encapsulation and what doesn't. Many different contradictions, it seems. | |
Sep 12, 2013 at 15:59 | comment | added | Komi Golov | Setters need not break encapsulation; there's no reason the class interface shouldn't have some property that the user may change the value of. For instance, if we have a lexer class, setting the current line number may be a valid operation. | |
Sep 11, 2013 at 18:39 | history | edited | Jamal | CC BY-SA 3.0 |
added 97 characters in body
|
Sep 11, 2013 at 15:43 | vote | accept | mitya221 | ||
Sep 11, 2013 at 15:39 | history | edited | Jamal | CC BY-SA 3.0 |
deleted 59 characters in body
|
Sep 11, 2013 at 15:28 | history | answered | Jamal | CC BY-SA 3.0 |