Hacker News new | ask | show | jobs
by hinkley 2494 days ago
It can still be useful if it’s a means to an end, a goad.

One bit of advice I give is that if the code doesn’t work the way you want then one option is to pretend. If you can emulate a better interface using the existing code, then you can start making the lie true later on.

But it does require that this section of the code be something that will receive ongoing attention for some time. You will have to amortize those changes over a lot of stories. Otherwise it’s a bad candidate for the technique and you will get the Lavaflow antipattern along with unnecessary indirection.