Developer regenerates same app in two languages from shared knowledge files
A software developer built a small commerce system by encoding its business logic, architecture decisions, and behavioral contracts as structured files rather than writing code directly. Using that knowledge base, two separate implementations were generated — one in TypeScript and one in Python — without either being derived from the other. Both passed the same 17 contract-based test scenarios, demonstrating that the underlying knowledge, not the code, was the authoritative source. The experiment explores the idea that code may be evolving into a build artifact of documented knowledge, much like compiled binaries are artifacts of source code. The developer acknowledged the analogy is imperfect, notably because AI code generation is non-deterministic unlike a compiler, but argues the approach offers a more reliable way to preserve and transfer system knowledge.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in