Timeline for I keep bouncing from "god function" to "tiny SRP functions" how do I break this cycle?
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 17, 2017 at 21:14 | history | tweeted | twitter.com/StackSoftEng/status/898291906471505921 | ||
Jul 28, 2017 at 19:55 | vote | accept | james | ||
Jul 27, 2017 at 18:20 | comment | added | Robert Harvey | Refactoring to improve one's code is a normal part of software engineering, and your refactorings seem quite reasonable, so I'm sort of wondering what the problem is here, if any. | |
Jul 27, 2017 at 7:39 | comment | added | Stewart Ritchie | Whilst not a PHP expert, is there anything stopping you re-factoring towards object oriented code? A Cart class would naturally have add and remove methods and the state necessary to track its contents. Better composed code would help here. | |
Jul 27, 2017 at 5:15 | review | Close votes | |||
Jul 31, 2017 at 21:45 | |||||
Jul 27, 2017 at 5:01 | comment | added | gnat | please don't cross-post: stackoverflow.com/questions/45339080/… "Cross-posting is frowned upon as it leads to fragmented answers splattered all over the network..." | |
Jul 27, 2017 at 1:53 | answer | added | Winston Ewert | timeline score: 6 | |
Jul 27, 2017 at 1:07 | answer | added | Andrew | timeline score: 1 | |
Jul 27, 2017 at 0:41 | comment | added | james | fair, in this case i suppose the question is as much what is/should be more optimal... | |
Jul 27, 2017 at 0:22 | comment | added | svidgen | I'm long overdue for a follow-up post on this, but, you need to apply the POAP. | |
Jul 27, 2017 at 0:13 | review | First posts | |||
Jul 27, 2017 at 7:46 | |||||
Jul 27, 2017 at 0:10 | history | asked | james | CC BY-SA 3.0 |