I've always been a fan of Shame-Driven Development.
if it's consistent with TDD and RDD it means you start with shame, then go write something to feel ashamed about?
Re:“A Dark Room” game open-sourced
by Continuities on Wednesday July 03, 2013 @04:26PM
(#5987294)
SDD: Write something bad => Surround oneself with reminders that it is bad => Fix it*
*Or, more likely, drink to forget.
Maybe the lazy bastard open sourced his code so someone else would refactor it for him.
The thing that needs to be refactored is called the Observer Pattern, and it's one of GoF patterns that most professional programmers should at least know about.
By "know", I mean the mere fact that it exists. Implementation details depend on the programming language and can always be looked up.
Re:“A Dark Room” game open-sourced
by Continuities on Wednesday July 03, 2013 @04:21PM
(#5987258)
Yup, I'm familiar with it. I just didn't think to use it until it was much too late...
[1] https://github.com/Continuities/adarkroom/blob/master/script...