Sep 14, 2015

How technical debt creeps in


P1: I want to see 1, 2, 4 and 5.
D1: print 1, print 2, print 4, print 5
...
P2: I want to see 3
D2: print 3
P2: 3 should be after 2 and before 4
D2: output.replace /(2) (4)(.+)3/\1{3}\2\3/
...
P3: I want to see 6
D3: WTF