Timeline for Implementing strategy pattern multiple variables?
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 2, 2016 at 12:53 | history | edited | Siddharth Trikha | CC BY-SA 3.0 |
added 1072 characters in body
|
| Aug 2, 2016 at 12:46 | history | edited | Siddharth Trikha | CC BY-SA 3.0 |
added 1072 characters in body
|
| Aug 1, 2016 at 21:12 | history | edited | Christophe |
edited tags
|
|
| Aug 1, 2016 at 20:16 | history | edited | Tulains Córdova | CC BY-SA 3.0 |
edited title
|
| Aug 1, 2016 at 20:16 | answer | added | Christophe | timeline score: 8 | |
| Aug 1, 2016 at 18:49 | answer | added | Michal Maťovčík | timeline score: -1 | |
| Jul 30, 2016 at 16:22 | comment | added | Robert Harvey |
If your only concern is the size of your serialize function, then you don't need new interfaces or classes, you just need methods: one method for each content type. Your switch statement decides which method to call.
|
|
| Jul 30, 2016 at 14:10 | history | asked | Siddharth Trikha | CC BY-SA 3.0 |