Appearance
数据驱动是在“描述状态”,行为驱动是在“描述如何构建状态”。
数据驱动
{ 食物: 汉堡, 配料: 芝士 }
行为驱动
加芝士() 不要洋葱() 多放酱()
流程 = ["auth", "log", "handler"]
流程 = Auth(Log(handler))