Timeline for Single Line Statements & Good Practices
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 30, 2011 at 10:56 | comment | added | Donal Fellows | Oh my yes, this can be a problem. A “favorite” is when you get a null pointer loose in something like foo.bar[grill.boo].flip.flap[flop].mickey(minnie).marshmallow (Java/C# syntax). Sorting through that sort of mess is always better with extra lines (and temporary variables… and a 2D6 Brick Of Clue for the original developer). | |
| Aug 27, 2011 at 15:25 | comment | added | David Hammen | The same concept applies to debugging, where once again the granularity is typically a line number. | |
| Aug 27, 2011 at 6:51 | history | answered | Frank Shearar | CC BY-SA 3.0 |