Skip to main content

Timeline for Immutable vs mutable mobile object

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Jun 16, 2020 at 10:01 history edited CommunityBot
Commonmark migration
Nov 17, 2016 at 8:18 comment added max Can you copy to your answer your comment: Do you want other types to mutate Robot objects? If they mutate the object, should other objects referencing that object notice the changed state? Maybe you should have both a mutable and immutable version (mutable could derive from immutable, same behaviors just without mutable ones), exposing the mutable type only where the object should be mutated? Even if you don't elaborate any more, that comment is useful as is.
Nov 13, 2016 at 21:10 comment added max I edited my question to clarify the position / direction part; basically, I'm just confirming I agreed with you.
Nov 13, 2016 at 19:53 history edited Dioxin CC BY-SA 3.0
added 38 characters in body
Nov 13, 2016 at 19:47 history answered Dioxin CC BY-SA 3.0