|
|
|
|
|
by derefr
6481 days ago
|
|
Something in my intuition says (though I'm not sure if it's to be trusted), that if your code has the chance to be any of those things, you aren't writing it elegantly enough. The best code I've seen reads as a set of revelations (macros) followed by one short, simple bit of glue that feeds library functions to them. (Of course, those building libraries might think differently.) |
|
The best test I think is in how fast you can make a meaningful change to the code, without having ever seen it or studied it before. In a practical sense, that is the only metric that matters anyways. We write this stuff, so we can maintain it and keep it running. It's not the first version that matters, it's the whole life span.