首页> 外文期刊>.Net Developer's Journal >Customizing the Compilation Process
【24h】

Customizing the Compilation Process

机译:定制编译过程

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

摘要

I've tried to make it a point to learn different programming languages throughout my career. It's not that I'm fluent in multiple languages (for example, I wouldn't call myself an Eiffel expert by any stretch of the imagination), but by learning about a language's features and ideas I've been able to broaden my perspective. This has its benefits when I'm designing or implementing a piece of code, because I've able to add different ideas into the code base that don't exist in the feature set of the language. For example, Eiffel has the idea of design-by-contract, which allows you to define pre- and post-conditions along with class invariants in your code, ensuring that callers set their parameters correctly and guaranteeing that an object will always be in a certain state. I find those ideas beneficial in creating defensive, maintainable code.
机译:我试图使我在整个职业生涯中学习不同的编程语言成为重点。这并不是说我能说多种语言(例如,我不会凭自己的想象力将自己称为埃菲尔铁塔专家),而是通过学习某种语言的功能和思想,我得以拓宽了视野。当我设计或实现一段代码时,这有其好处,因为我已经能够在该语言的功能集中不存在的不同想法添加到代码库中。例如,埃菲尔(Eiffel)具有按合同设计的想法,该概念使您可以在代码中定义前置条件和后置条件以及类不变量,以确保调用者正确设置其参数并确保对象始终位于对象中。一定的状态。我发现这些想法对创建防御性,可维护的代码很有帮助。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号