logoalt Hacker News

Ancapistaniyesterday at 9:36 PM0 repliesview on HN

This is the direction I'm going.

For personal projects that I don't plan to share widely, I'm making it a point to not look at the code at all. So far - and to my surprise - I've not only found that this has result in no more bugs than before, but it seems to result in fewer bugs over time. Every time I find a bug or a regression, I add it to the specification. My SDLC requires that every specification have at least one associated test. Not every function, or every line, or anything like that - every specified feature. The end result has been that my projects have matured over time much faster than if I'd been more closely involved.

I've already toyed with writing some projects in Nim and Haskell for token efficiency. At some point I plan to put together a simple test project, then do a comparison of token efficiency with every language I can think of to find the one that I'm able to generate most quickly, correctly, and cheaply.