首页> 外文期刊>Software Development >Pillars of Pretty Code
【24h】

Pillars of Pretty Code

机译:漂亮密码的支柱

获取原文
获取原文并翻译 | 示例
           

摘要

Seiwald's seven tips aren't the last, or even the first word on good code-but they do address an all-too-absent requirement that shouldn't be overlooked: readability. The essence of pretty code? One can infer much about its structure from a glance, without completely reading it. I call this visual parsing: discerning the flow and relative importance of code from its shape. Engineering such code requires a certain amount of artifice to transform otherwise working code into working, readable code, making the extra step to leave visual cues for the user, not the compiler.
机译:Seiwald的七个技巧不是关于好的代码的最后一个,甚至不是第一个词,但是它们确实解决了一个绝对不容忽视的要求:可读性。漂亮代码的本质?可以一眼就推断出很多结构,而无需完全阅读。我称之为视觉解析:从代码的形状识别代码的流程和相对重要性。对此类代码进行工程设计需要一定的技巧,才能将本来可以工作的代码转换为可工作的可读代码,从而采取了额外的步骤,以便为用户(而不是编译器)留下视觉提示。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号