[G1-Sync] Manual knowledge update
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
id: P-REINFORCE-AI-FLUENT-INTERFACE
|
||||
id: [[P-Reinforce]]-AI-FLUENT-INTERFACE
|
||||
category: "10_Wiki/💡 Topics/AI"
|
||||
confidence_score: 0.96
|
||||
tags: [SoftwareEngineering, API, Pattern, CleanCode]
|
||||
@@ -14,7 +14,7 @@ last_reinforced: 2026-04-20
|
||||
## 📖 구조화된 지식 (Synthesized Content)
|
||||
- **Concept**: 메서드가 `this`(자기 자신)를 반환하도록 설계하여, 점`.`을 찍고 계속해서 명령을 이어가게 함.
|
||||
- **Example**: `builder.setName("Ant").setAge(1).build();`
|
||||
- **Goal**:
|
||||
- **[[goal]]**:
|
||||
- **Readability**: 비개발자가 봐도 의도를 파악할 수 있는 선언적 구조.
|
||||
- **Discoverability**: 점을 찍으면 바로 다음에 가능한 행동들이 나열되어 API 사용이 쉬워짐.
|
||||
- **Domain Specific Languages (DSL)**: 특정 도메인 전용 언어를 구축할 때 핵심적인 패턴이다.
|
||||
|
||||
Reference in New Issue
Block a user