35. AI-Assisted Development
The Problem
AI coding assistants work better when a component has an explicit, small, and predictable structure and API surface.
The Angular Difficulty
Angular's structure is explicit and AI-friendly, but the framework exposes many concepts—templates, DI, decorators, lifecycle, RxJS, forms, and services—that an assistant must select correctly.
Angular Approach
@Component({
template: `<button (click)="save()">
{{ saving ? "Saving" : "Save" }}
</button>`
})
export class CustomerComponent {
saving = false;
async save() { /* ... */ }
}
MS Approach
ManySet provides a direct runtime-oriented approach for this recurring business-application task.
const customer = await ms.inject("./Customer", "content");
await customer.save();
// A direct, explicit runtime API gives an AI assistant a compact target.
Why this way is useful in business applications :
The comparison is intended to show where ManySet supplies a business-application abstraction around a recurring task, while keeping HTML and JavaScript visible and directly usable.
Key Point :
ManySet reduces the amount of framework-specific composition required for this particular task, without requiring the React/Angular mechanism to be represented as inherently wrong or incapable.