📝 docs(markdown): format tracked markdown and drop stale templates

This commit is contained in:
csh
2026-05-18 16:06:21 +08:00
parent 2325409f53
commit c1702a667a
16 changed files with 184 additions and 421 deletions
+7 -7
View File
@@ -30,16 +30,16 @@
## 术语对照
- 文档里出现的“顶层 `function / procedure`”“顶层函数骨架”“顶层函数定义体”,指的是同一类顶层模型:文件以顶层 `function` / `procedure` 为主体。
- 文档里出现的 ``class function`` 和“类方法”,指的是同一件事:前者是代码关键字写法,后者是中文描述。
- 文档里出现的 `class function` 和“类方法”,指的是同一件事:前者是代码关键字写法,后者是中文描述。
## 先选哪一种骨架
| 当前任务 | 起手骨架 |
| --- | --- |
| 只写一段一次性脚本逻辑 | 顶层松散语句 |
| 先沉淀一个可复用逻辑块 | 顶层 `function` |
| 需要对象状态、字段、方法 | `type Name = class` |
| 需要把接口和实现组织进一个模块 | `unit` |
| 当前任务 | 起手骨架 |
| ------------------------------ | ------------------- |
| 只写一段一次性脚本逻辑 | 顶层松散语句 |
| 先沉淀一个可复用逻辑块 | 顶层 `function` |
| 需要对象状态、字段、方法 | `type Name = class` |
| 需要把接口和实现组织进一个模块 | `unit` |
默认建议: