Timeline for Is a "start", "run" or "execute" method a good practice?
Current License: CC BY-SA 3.0
17 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 24, 2013 at 23:37 | history | tweeted | twitter.com/#!/StackProgrammer/status/360182045500116992 | ||
Jul 24, 2013 at 22:14 | history | edited | Dave Hillier | CC BY-SA 3.0 |
added 59 characters in body; edited title
|
Jul 24, 2013 at 10:52 | vote | accept | Dave Hillier | ||
Jul 23, 2013 at 22:47 | comment | added | user16764 | Count me among those who need a code sample to understand what you're actually asking. | |
Jul 23, 2013 at 22:22 | comment | added | luiscubal |
Examples of classes with Start methods in common APIs include threads and stopwatches.
|
|
Jul 23, 2013 at 16:46 | comment | added | gnat | @DaveHillier opposite - you define futures in constructor, for later use (where "later" could be as late as possible) | |
Jul 23, 2013 at 16:45 | answer | added | Tulains Córdova | timeline score: 14 | |
Jul 23, 2013 at 16:42 | comment | added | Dave Hillier | @MichaelT good answer :) | |
Jul 23, 2013 at 16:40 | comment | added | Dave Hillier | @gnat would a future not use the constructor of the object? | |
Jul 23, 2013 at 16:40 | comment | added | user40980 |
@DaveHillier For example, in perl it is standard practice (and a good one) to have an init method of some sort outside of the new function - perldoc.perl.org/perlobj.html . The idioms of one language may work well there and not in other languages.
|
|
Jul 23, 2013 at 16:37 | comment | added | gnat | this is a largely overrated dichotomy, maintained by those who don't know The way of the Future... | |
Jul 23, 2013 at 16:33 | comment | added | Dave Hillier | @MichaelT I can see why you're asking, but I'm interested in the general principle behind when it's appropriate. I'm concerned that if I gave specific examples from the code base I'm working on, the answers would be too focused on the details and not on my specific questions. | |
Jul 23, 2013 at 16:32 | history | edited | Dave Hillier | CC BY-SA 3.0 |
added 74 characters in body
|
Jul 23, 2013 at 16:03 | answer | added | Dan Albert | timeline score: 50 | |
Jul 23, 2013 at 15:53 | answer | added | Bobson | timeline score: 45 | |
Jul 23, 2013 at 15:52 | comment | added | user40980 |
Could you add a bit more context? Language? Threaded vs single thread? difference between start and the constructor? etc...
|
|
Jul 23, 2013 at 15:48 | history | asked | Dave Hillier | CC BY-SA 3.0 |