Writing
Thoughts on software engineering, AI, distributed systems, and building great products.
Software Development කරද්දී Database manage කරන එක, හදපු code manage කරන එකට වඩා tricky. Project එක grow වෙද්දි Database schema එකත් change වෙනවා... අලුත් tables එනවා, columns modify වෙනවා, සමහර fields remove වෙනවා. මේ changes කිසි අවුලක් නැතුව, predictable විදිහට handle කරන්න migrations කියන්නේ අත්යවශ්යම tool එකක්.
In the world of Next.js, we move fast. JavaScript's flexibility is speed. But as an application scales, that flexibility can become a liability. But as our Next.js project scaled, that speed came at a cost. What was once "flexible" started to become "fragile." Onboarding new engineers took longer. Refactoring a core component was a high-risk, "search and replace" operation. That's why we're migrating to TypeScript (.tsx). It's not a trend, it's a strategic move for stability and scale.