luke.b//blog

< back to logs after before

There seems to come a point in most software projects where a bug appears that reveals a large amount of technical debt, which previously was harmless.

It turns out there’s a bug in the terminal that I’m writing that suggests I’ve been doing it all wrong from the beginning.

It also turns out that implementing scrolling - any kind of scrolling - is one of the hardest problems in computer science that remains unsolved… by me… in this one project.

Anyway. Rewriting this part of my terminal will be tricky because it isn’t separated out from the rest of the terminal in a nice way.

One option is to separate it out, write tests for that specific part including tests that will fail unless a certain bug is fixed.

This seems to be quite an effective method: “iterative TDD”.