Status Update on Code Size


Point 1:

This is the last time the code will be near 10 K LOC.

As I showed in the last post, ASDL reduced the code size a lot.

WHen the code was released, it was about 11.5K lines.

ASDL is nice: there are just 600 lines describing everything in the shell. It is a tiny bridge between the front and and back end. They are in different processes, and even I divided the program strictly into two programs.

I came across the shok shell -- this is overboard, too modular. Bash is too monolithic. Oil is just right.

size is code's worst enemy

Discuss this post on Reddit