L
LLLOS.ai
Career
L
◆ AI Learning · Hard rule

Why should a developer copy an existing file instead of starting a new one when the instructions say to copy?

When a specification tells a developer to copy an existing file, the developer must copy that file. Starting a new file from scratch wastes time and loses important design work. The existing file contains valuable user experience details.

By Pawan Nayar · from the LLOS AI Learning record

The rule

When a specification tells a developer to copy an existing file, the developer must copy that file.

Starting a new file from scratch wastes time and loses important design work. The existing file contains valuable user experience details.

A developer must literally open the existing file first. Then, the developer should modify that file. Generating a new file from the beginning is faster for the developer. However, it costs the user many hours of lost work. The user's existing files have many hours of careful design. New code does not have this design. This mistake can cause big problems and lose trust.

A developer receives instructions to create a new web page. The instructions say, 'Copy the layout from the 'Product Details' page.' The developer decides to build the new page from scratch. The new page looks different and misses important features. The designer must spend extra hours fixing the new page. The manager loses trust in the developer's attention to detail.

Words you'll need

Resolved from this lesson's own record — real definitions, not invented for this page.

Version Control

Tracking changes to files over time

Configuration Management

Keeping track of what settings AI is using

System Design

The blueprint for how an AI system works end to end

Design Patterns

Reusable solutions to common problems in design

Questions people ask

More from the same record, pulled by shared topic — not written new for this page.

Why should a developer copy an existing file instead of starting fresh, even if the task seems simple?

A specification often tells a developer to copy an existing file. The developer should open that file first.

How should a new design's layout be created?

A new design must use the exact layout proportions of a proven design. The proven design has been refined over many hours.

What should a developer do before writing any code that uses an external API?

Before writing any external API code, a developer must read specific policy files. These files include rules for starting a session, handling retries, and using the central API coordinator.

Why should an AI model copy existing files instead of creating new ones?

An AI model should always copy content from 'gold' files. These are approved, correct examples.

What to remember

When a specification tells a developer to copy an existing file, the developer must copy that file. Starting a new file from scratch wastes time and loses important design work. The existing file contains valuable user experience details.