Timeline for What speaks against using structs for passive data structures?
Current License: CC BY-SA 3.0
23 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 30, 2017 at 6:35 | review | Close votes | |||
| Jan 4, 2018 at 3:03 | |||||
| Dec 30, 2017 at 6:16 | history | protected | gnat | ||
| Dec 30, 2017 at 4:45 | answer | added | Steve | timeline score: 0 | |
| Dec 29, 2017 at 21:58 | vote | accept | R. Schmitz | ||
| Dec 23, 2017 at 21:03 | history | tweeted | twitter.com/StackSoftEng/status/944674787997216768 | ||
| Dec 23, 2017 at 11:59 | history | edited | R. Schmitz | CC BY-SA 3.0 | Corrected wrong terminology |
| Dec 23, 2017 at 10:50 | answer | added | Doc Brown | timeline score: 3 | |
| Dec 23, 2017 at 4:51 | answer | added | Hovercouch | timeline score: -1 | |
| Dec 22, 2017 at 22:26 | history | edited | R. Schmitz | CC BY-SA 3.0 | Made Employee class clearer |
| Dec 22, 2017 at 21:58 | history | edited | R. Schmitz | CC BY-SA 3.0 | Added clarifying comments |
| Dec 22, 2017 at 21:51 | history | edited | R. Schmitz | CC BY-SA 3.0 | Added clarifying comments |
| Dec 22, 2017 at 21:28 | history | edited | R. Schmitz | CC BY-SA 3.0 | Added code example and reaction to comments |
| Dec 22, 2017 at 17:57 | comment | added | Berin Loritsch | NOTE: I will warn you that working with structs in lists will not behave the way you expect them to. Mixing and matching value types with object types will lead to a number of unexpected maintenance headaches. Try it for a while, then ask a colleague to implement a change to your code. The feedback will be very informative. | |
| Dec 22, 2017 at 17:39 | answer | added | Berin Loritsch | timeline score: 0 | |
| Dec 22, 2017 at 16:00 | history | edited | Robert Harvey | CC BY-SA 3.0 | edited body |
| Dec 22, 2017 at 13:47 | comment | added | code4life | Just a few thoughts off the top of my head: Do you require data serialization? Will this need to be passed into and from functions/methods? Will it be iterated and modified on a fairly significant basis? Also: immutability on a monolithic basis means that you need to "batten down the hatches" on multiple levels of concerns (not a bad thing, just a... thing). | |
| Dec 22, 2017 at 13:42 | comment | added | jmoreno | Could you give an example of a class that you are thinking of turning into a class? | |
| Dec 22, 2017 at 11:17 | comment | added | R. Schmitz | Downvoters care to explain? I'd like to think the question shows research effort and is clear and useful. | |
| Dec 22, 2017 at 0:44 | answer | added | Erik Eidt | timeline score: 6 | |
| Dec 21, 2017 at 23:21 | answer | added | Daniel T. | timeline score: 2 | |
| Dec 21, 2017 at 22:49 | answer | added | Robert Harvey | timeline score: 13 | |
| Dec 21, 2017 at 22:37 | review | First posts | |||
| Dec 22, 2017 at 15:05 | |||||
| Dec 21, 2017 at 22:33 | history | asked | R. Schmitz | CC BY-SA 3.0 |