Timeline for Coding Guideline : Methods shouldn't contain more than 7 statements?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 1, 2012 at 19:41 | history | made wiki | Post Made Community Wiki by Justin | ||
| Mar 1, 2012 at 8:52 | comment | added | Dennis Doomen | @James And that's what this particular guideline is intended for. Trying to make you think of alternative, potentially better, solutions. | |
| Mar 1, 2012 at 2:57 | comment | added | James Anderson | @Dennis -- true , been doing HTML forms for too long! | |
| Feb 29, 2012 at 13:13 | comment | added | Dennis Doomen | Well, as I said before, its a decision that you have to make over and over again. However, your particular example might be an example of not doing object-oriented design correctly. You might want to divide your screen into multiple controls that do the validation themselves. | |
| Feb 29, 2012 at 9:29 | comment | added | user | I think it's pretty safe to say that try / catch / finally are not statements in C#. See Ecma-334 § 12.3.3.15 and surrounding sections. (abbreviated) "a try-catch-finally statement of the form: try try-block catch (...) catch-block-n finally finally-block" | |
| Feb 28, 2012 at 8:21 | history | answered | James Anderson | CC BY-SA 3.0 |