Enable javascript in your browser for better experience. Need to know to enable it? Go here.
Last updated : Oct 26, 2022
NOT ON THE CURRENT EDITION
This blip is not on the current edition of the Radar. If it was on one of the last few editions, it is likely that it is still relevant. If the blip is older, it might no longer be relevant and our assessment might be different today. Unfortunately, we simply don't have the bandwidth to continuously review blips from previous editions of the Radar. Understand more
Oct 2022
Assess ?

你应该如何编写好的代码?如何判断自己是否写了好的代码?作为软件开发者,我们总是在寻找一些自然易记的规则、原则和模式,以便在讨论如何编写简单的、易修改的代码时,我们有统一的语言和价值观。

Daniel Terhorst-North最近尝试为好代码创建了一个类似于检查表的东西。他认为与其拘泥于像 SOLID 这样一套规则,不如使用一组特性作为目标。他设计出了名为 CUPID 的特性组,来描述为了写出"令人愉悦"的代码,我们需要做出哪些努力:在该特性指导下的代码应该是可组合的,遵循 Unix 哲学的,可预测的,风格自然的以及基于领域的。

Mar 2022
Assess ?

你应该如何编写好的代码?如何判断自己是否写了好的代码?作为软件开发者,我们总是在寻找一些自然易记的规则、原则和模式,以便在讨论如何编写简单的、易修改的代码时,我们有统一的语言和价值观。

Daniel Terhorst-North最近尝试为好代码创建了一个类似于检查表的东西。他认为与其拘泥于像SOLID这样一套规则,不如使用一组特性作为目标。他设计出了名为CUPID的特性组,来描述为了写出"令人愉悦"的代码,我们需要做出哪些努力:在该特性指导下的代码应该是可组合的,遵循Unix哲学的,可预测的,风格自然的以及基于领域的。

Published : Mar 29, 2022

Download the PDF

 

 

 

English | Português 

Sign up for the Technology Radar newsletter

 

 

Subscribe now

Download the PDF

 

 

 

English | Português 

Sign up for the Technology Radar newsletter

 

 

Subscribe now

Visit our archive to read previous volumes