3 ms·
Not just Haskell. I've done a very similar thing in Java which I regret. The trick is to make sure that as soon as you've written this garbage, you go back, s
by cogman10 7y ago
Not just Haskell. I've done a very similar thing in Java which I regret.
The trick is to make sure that as soon as you've written this garbage, you go back, split things up into proper methods with descriptive names. Even things like introducing intermediate variables goes a really long way towards improving readability.
To me, this is a starting point, not the finish line.