User:LukeRobinson
LukeRobinson (Talk | contribs) |
LukeRobinson (Talk | contribs) |
||
Line 8: | Line 8: | ||
Personal quotes: | Personal quotes: | ||
− | "If it's immutable, it's not real OO", this came up in a class discussion about whether objects should be mutable or immutable. The reason I said this is because OO is about [[Model the real world | modelling the real world]], and real objects do change. inb4 [http://en.wikipedia.org/wiki/Ship_of_Theseus| Ship of Theseus]. | + | "If it's immutable, it's not real OO", this came up in a class discussion about whether objects should be mutable or immutable. The reason I said this is because OO is about [[Model the real world | modelling the real world]], and real objects do change. inb4 [http://en.wikipedia.org/wiki/Ship_of_Theseus | Ship of Theseus]. |
Revision as of 00:47, 30 July 2010
Hi, I'm Luke, I'm doing Honors and one of my classes is 427, for my design study I hope to use my Honors project, which is on visualization of network data and is written in C#.
If you want to talk to me, just email me, or see me in class.
Personal quotes:
"If it's immutable, it's not real OO", this came up in a class discussion about whether objects should be mutable or immutable. The reason I said this is because OO is about modelling the real world, and real objects do change. inb4 | Ship of Theseus.
not sure where this should go... so i'll just put it here for now.
I'm sure we all know that class names should start with capital letters and each new word within the name should also start with a capital. For example, EventListener. Although this is not required, it is convention. There are other ways names can be written, e.g. event_listener, that still preserve the word boundaries, however these are less common than capitalization. The worst case is to not differentiate between words at all, e.g. eventlistener, because it makes reading class names much harder.
Here is oracles views on the issue.