Richard Bucker

Simpler Is Better

Posted at — Aug 6, 2020

I have been wondering why various vendors have been integrating Lua & tcl into their projects. Now it kinda makes sense. First of all you shim only what you need and nothing more. You add shims as you need them.

Bjarne Stroustrup: Simplification is the Key to Reliability and Efficiency in Code

It seems to me that simple falls into two categories. [1] the simpler the syntax the easier it is to learn. [2] the simpler the syntax the easier it is to understand the rules and manage those expectations (see uncle bob). [3] limiting the surface area also make it faster to implement and prove without the junk (just try to prove a perl program)

So here’s the thing… picol. Picol is a basic tcl interpreter in 500 lines of code. There is a go version. And it seems that the original picol has been expanded. In the meantime the basic implementation makes things easy.