Skip to content

Commit d7a53d8

Browse files
committed
Update CLAUDE.md
1 parent 8e355e2 commit d7a53d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Performance, execution cost, and interpreter compatibility are critical.
1414
- Use sparse comments explaining "why" not "how".
1515
- Generated code should match existing idioms. Newer encoders such as QR Code are the best source of idiomatic code.
1616
- Maintain existing user API (encoder interfaces and metadata).
17+
- Prefer derived values over opaque constants so that the code is auditable, unless prohibitively expensive (even for lazy init).
1718
- Static data should be hoisted out of the main procedure, and deferred with lazy initialisation if it must be derived
1819
- Static and cached structures should be readonly
1920
- Prefer stack work over dictionary heavy code

0 commit comments

Comments
 (0)