Clojure Accounting: Evolving from Script to Interactive Web App

2025-03-08

The author initially used a Clojure script for accounting, but as the number of transactions grew, maintenance and sharing became difficult. A simple script is easy to write but provides a poor user experience, while a complex web application offers a good experience but is expensive to develop. The author cleverly combined Clojure's features with a simple web application framework to create an interactive accounting system similar to a notebook. This system allows users to write Clojure code, view results in real-time, and modify accounting rules and data via simple UI elements. It also supports data persistence, version control, and collaborative editing, effectively addressing the shortcomings of the original script and improving user experience and efficiency.

Development