Code formatting is all about matching the impedance of the source code to that of the human author/readers of the code. The development of literature suggest that innovation in this area will continue for a very long time.
I myself am a huge fan of Pascal, and limiting code to one function per line. I find that clever/terse code is unmaintainable code.
Here's some code I wrote back in 1991 for a TECO clone that reflects that style. Looking back, I think some things could have a few more comments, but it seems fairly easy to read the intent of the code.
Comments
Code formatting is all about matching the impedance of the source code to that of the human author/readers of the code. The development of literature suggest that innovation in this area will continue for a very long time.
I myself am a huge fan of Pascal, and limiting code to one function per line. I find that clever/terse code is unmaintainable code.
Here's some code I wrote back in 1991 for a TECO clone that reflects that style. Looking back, I think some things could have a few more comments, but it seems fairly easy to read the intent of the code.
https://github.com/mikewarot/teco