用 Jev 分类模型逐步选择合法 token 编写 C++
作者用 TypeSafe 的 Jev 决策/分类模型做实验:每步只提供语法合法的候选 token,让模型选择,从而生成 C++ 代码。
作者讨论模块合同与返回值的结构化,指出自由文本会造成解释模糊,Jev等工具虽有用,但更重要的是在自己的流程中要求结构化模式。
Once each module has a contract, ask what it hands back. Free text forces interpretation. “Probably fine to merge” is not a decision. Tools like Jev help. Useful, but still not the whole point. Consider requiring a structured schema in your own flows too.