Timeline for How would you refactor nested IF Statements?
Current License: CC BY-SA 2.5
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 7, 2023 at 16:35 | comment | added | sɐunıɔןɐqɐp | @MichaelDurrant also known as the pharaonic developer's pyramid. | |
Nov 6, 2013 at 12:41 | comment | added | Michael Durrant | Yeah, we called it 'skyscraper code' - if you turn the code sideways, it looks like high rise buildings... | |
Feb 14, 2011 at 23:03 | comment | added | oosterwal | +1: Also convert positive checks into negative checks and use early returns (not all coding standards allow this.) | |
Feb 14, 2011 at 21:50 | history | answered | JohnFx | CC BY-SA 2.5 |