Timeline for is it good "form" to declare new classes in the same file?
Current License: CC BY-SA 2.5
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 2, 2009 at 10:06 | vote | accept | Tony Stark | ||
| Sep 2, 2009 at 9:55 | comment | added | gustafc | Then I'd declare it as a private static inner class to the main class to avoid namespace clutter. | |
| Sep 2, 2009 at 9:54 | history | edited | gustafc | CC BY-SA 2.5 | Added example |
| Sep 2, 2009 at 9:52 | vote | accept | Tony Stark | ||
| Sep 2, 2009 at 9:52 | |||||
| Sep 2, 2009 at 9:52 | comment | added | Tony Stark | it's definitely a throwaway class that only the main() in this file will ever use. | |
| Sep 2, 2009 at 9:49 | history | answered | gustafc | CC BY-SA 2.5 |