Talk:2006 Exam answers
From CSSEMediaWiki
(Difference between revisions)
Line 2: | Line 2: | ||
I'm not sure about question 2e), I think it is [[Recursion introduction]], but it also seems like it might be talking about the [[Law of Demeter]]. Any thoughts? --[[User:Elliot Fisher|Elliot Fisher]] 07:25, 7 October 2008 (UTC) | I'm not sure about question 2e), I think it is [[Recursion introduction]], but it also seems like it might be talking about the [[Law of Demeter]]. Any thoughts? --[[User:Elliot Fisher|Elliot Fisher]] 07:25, 7 October 2008 (UTC) | ||
+ | |||
+ | The second answer to Question 6 is a little misleading. Adding setters and getters for all fields is not necessarily increasing the size of the interface of the class because these getters and setters do not necessarily need to public. In fact I believe that he advocates making them private by default, and only making them public as necessary. --[[User:Aidan Bebbington|Aidan]] 22:07, 14 October 2009 (UTC) |
Latest revision as of 22:07, 14 October 2009
What is the answer to 1d)? A pattern containing a class called "Quantity"? --Elliot Fisher 06:41, 7 October 2008 (UTC)
I'm not sure about question 2e), I think it is Recursion introduction, but it also seems like it might be talking about the Law of Demeter. Any thoughts? --Elliot Fisher 07:25, 7 October 2008 (UTC)
The second answer to Question 6 is a little misleading. Adding setters and getters for all fields is not necessarily increasing the size of the interface of the class because these getters and setters do not necessarily need to public. In fact I believe that he advocates making them private by default, and only making them public as necessary. --Aidan 22:07, 14 October 2009 (UTC)