claude code - technology and usages
tech stack:
- typescript - claude code is written in ts (pssst: typescript is a must know language imo)
- react - ui is written in react and uses ink for interactive command line
- ink - react components for command line! used by a whole list of AI whos who with command line
- yoga - embeddable flexbox layout engine and
- bun - js runner, runtime, bundler; choose over webpack/vite etc. because bun is faster)
- npm to distribute claude code
Started as a simple project to query what music someone was listening to. Then added capabilities to access the file system and run batch commands. Usage spread rapidly within Claude Code team who dogfooded it.
"around 90% of claude code is written with claude code" (not by, with)
claude code is a thin wrapper over the claude model, they deliberately want people to experience the raw model, not obstructed by much business logic
a guiding principal is: simplicity, choose the simplest approach possible
the most complex part of claude code is the permission system; they choose the simplest option to seeks permission before executing an action and the user can decide to grant permission once or for future or reject
Claude codes team use test driven development.
The Claude code dev team use claude code to run lots of prototypes, like 10 in a day. They have no problems with throwing away code.
Comments
Post a Comment