Timeline for Interface design where functions need to be called in a specific sequence
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 15, 2014 at 7:24 | comment | added | Vorac | +1 looks great and simple. However, I can see a problem. If I have objects a, b, c, d, then I can start a, and using it's MySession to attempt to use b as an already started object, while in reality it is not. | |
| Oct 1, 2014 at 10:35 | comment | added | Michael Klement | @svick: Nothing, but you must explicitly do this. This approach tells you what it expects and bypassing that expecation is a conscious decision. As with most programming languages, no one's preventing you from shooting yourself in the foot. But it's always good by an API to clearly indicate that you are doing so ;) | |
| Aug 31, 2014 at 23:40 | comment | added | svick | What stops someone from doing module->GetResource()->Configure(nullptr)? | |
| Aug 26, 2014 at 9:07 | audit | First posts | |||
| Aug 26, 2014 at 9:07 | |||||
| Aug 22, 2014 at 12:52 | review | First posts | |||
| Aug 22, 2014 at 18:43 | |||||
| Aug 22, 2014 at 12:51 | history | answered | jpa | CC BY-SA 3.0 |