Timeline for How do I edit a chain of if-else if statements to adhere to Uncle Bob's Clean Code principles?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 14, 2018 at 20:25 | comment | added | user | I won't pretend to speak for anyone else, but while the code in the question is immediately readable and obvious in its behavior, I would not consider this to be immediately obvious as to what it does. | |
Jan 12, 2018 at 16:55 | comment | added | Max | Yes that's called the Chain-of-responsibility Pattern | |
Jan 12, 2018 at 12:42 | history | edited | Timothy Truckle | CC BY-SA 3.0 |
added 327 characters in body
|
Jan 12, 2018 at 12:35 | history | edited | Timothy Truckle | CC BY-SA 3.0 |
added 327 characters in body
|
Jan 12, 2018 at 11:25 | history | answered | Timothy Truckle | CC BY-SA 3.0 |