内容讨论 图片 1

Look on cleancoder.com and check out the Othello game. I had @grok implement this from a single prompt. It took 40 minutes. Another five minutes of fixing a few UI quibbles and the game was ready. It is written in Clojure -- a functional language.

Then I asked: "can you project the design of this application into an object oriented model?" Within 60 seconds it produced a detailed report. At the heart of that report was this UMLish diagram.

Note the direction of the dependencies. Low level to high level following the Dependency Rule. Note the layered architecture.

These models are GOOD.

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论