Timeline for Should main method be only consists of object creations and method calls?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 26, 2012 at 22:57 | comment | added | KeithS | Personally if you're recurring your main method I think you should instead be calling another method and recurring that. Only in the simplest contexts (console app of roughly homework-level complexity/difficulty) would it be acceptable to call main() from within your program, and I would call that a trivial situation. | |
Mar 26, 2012 at 22:35 | comment | added | DeadMG |
I disagree. It can be useful to call main from other contexts- for example, recursion.
|
|
Mar 26, 2012 at 21:13 | history | answered | KeithS | CC BY-SA 3.0 |