top | item 47070337

(no title)

r-johnv | 11 days ago

> Vertical slice architecture — organizing code by feature with each slice self-contained — is emerging as the AI-friendly pattern because it maximizes context isolation.

> Three architectural principles are gaining consensus: "token efficiency" as a design constraint (structuring code to minimize the context an AI model needs for any given task), explicit over implicit everywhere (explicit types, explicit error handling, explicit interfaces), and co-location of related code. These principles aren't new, but AI has given them renewed urgency.

I found the architecture section of his article (which is pretty far down) to be the most interesting.

discuss

order

verdverm|11 days ago

That is real bad advice

The rules and guidelines for good code have not changed. Don't change that for the sake of today's Ai and limitations