Hello, I'm Shrijith. I'm building git-lrc, an AI code reviewer that runs on every commit. It is free, unlimited, and source-available on Github. Star Us to help devs discover the project. Do give it a try and share your feedback for improving the product.
Presently, I am building LiveAPI, a super-convenient engineering productivity tool. LiveAPI processes your code repositories at scale and automatically produces beautiful API docs in minutes.As I build LiveAPI, I am also making an effort to learn about various economic matters.
In this post, I explain the origins of currency or money, as presented by one of the foremost economic thinkers, Adam Smith.
The Commercial Society
Adam Smith introduces the idea of a commercial society. In this society, everyone must become a little bit of a trader—without exception.
The reason for this is that, as the division of labor increases, individuals produce surplus goods that must be traded for other goods they need or want.
Since no individual is fully self-sufficient due to the division of labor, there must be sufficient give-and-take with others in the economy.
A society driven by such an economy of traders is what can be called a commercial society.
Currency: What (Almost) Everyone Wants
At the dawn of the division of labor, give-and-take transactions could sometimes become awkward and complicated.
For instance, I might have grains to offer and want clothes in return. But the person I’m transacting with might want grain but can only offer cattle in return.
In such a transaction, the receiver gets what they want, whereas the giver doesn't (immediately).
One can imagine how taxing such a system could be to execute on a day-to-day basis.
The intermediate solution to this problem was to try to accumulate items that almost everyone wanted.
Historically, for example, cattle held significant value due to their versatility in sustaining human existence.
Thus, in the very beginning, the currency of exchange was cattle (e.g., "an armor may cost 9 oxen").
Other popular currencies in use throughout history included:
- Salt
- Dried cod
- Tobacco
- Sugar
- Leather
An Advancement - Settling on Metals
Eventually, people recognized the problems with using various commodities as currency. Metal emerged as an alternative for the following reasons:
- Metals don’t spoil.
- They can be divided into pieces.
- They can be melted and reformed.
- Iron, copper, silver, and gold are available in sufficient quantities.
Initially, people used metal bars as currency. The number and weight of the bars denoted buying power. However, this system had drawbacks:
- The hassle of weighing
- Testing for purity
Metal + Marks = Coins
To avoid the hassle of weighing and testing, more advanced societies adopted the idea of coins.
The earliest coins were marked with inscriptions indicating their weight and purity.
Over time, governments realized that the underlying metal content was less important than the symbols and numbers on the coins. They reduced the expensive metal content while retaining the markings, cutting costs.
These simplifications enabled the expansion of commercial society.
The Relative "Value" of Goods
When determining the relative "value" of goods, there are two perspectives:
- Value in Use: How useful something is. 2. Value in Exchange: How much other stuff you can get for it.
For example, water is incredibly useful in existential terms but is not seen as highly valuable in trade. In contrast, diamonds, which are not very useful, can be traded for many other goods.
Thus, tradeable value determines the real price of things in a commercial society.
More About Prices in Upcoming Posts
There are many factors that make up the real price of goods.
Over time, prices rise and fall, often deviating from their natural prices.
We’ll delve deeper into how prices work in upcoming posts.
*AI agents write code fast. They also silently remove logic, change behavior, and introduce bugs -- without telling you. You often find out in production.
git-lrc fixes this. It hooks into git commit and reviews every diff before it lands. 60-second setup. Completely free.*
Any feedback or contributors are welcome! It's online, source-available, and ready for anyone to use.
⭐ Star it on GitHub:
HexmosTech
/
git-lrc
Free, Unlimited AI Code Reviews That Run on Commit
AI agents write code fast. They also silently remove logic, change behavior, and introduce bugs -- without telling you. You often find out in production.
git-lrc fixes this. It hooks into git commit and reviews every diff before it lands. 60-second setup. Completely free.
See It In Action
See git-lrc catch serious security issues such as leaked credentials, expensive cloud operations, and sensitive material in log statements
git-lrc-intro-60s.mp4
Why
- 🤖 AI agents silently break things. Code removed. Logic changed. Edge cases gone. You won't notice until production.
- 🔍 Catch it before it ships. AI-powered inline comments show you exactly what changed and what looks wrong.
- 🔁 Build a habit, ship better code. Regular review → fewer bugs → more robust code → better results in your team.
- 🔗 Why git? Git is universal. Every editor, every IDE, every AI…
Top comments (0)