首页> 外文期刊>Ada letters >Gem #28: Changing Data Representation (Part 2)
【24h】

Gem #28: Changing Data Representation (Part 2)

机译:宝石28:更改数据表示形式(第2部分)

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

摘要

Part 2, Efficiency Considerations.Last week, we discussed the use of derived types and representation clauses to achieve automatic change of representation. More accurately, this feature is not completely automatic, since it requires you to write an explicit conversion. In fact there is a principle behind the design here which says that a change of representation should never occur implicitly behind the back of the programmer without such an explicit request by means of a type conversion.
机译:第2部分,效率注意事项。上周,我们讨论了派生类型和表示子句的使用,以实现表示的自动更改。更准确地说,此功能不是完全自动的,因为它要求您编写显式转换。实际上,这里的设计背后有一个原则,即在没有通过类型转换的明确要求的情况下,切勿在程序员的背后隐式地进行表示的更改。

著录项

  • 来源
    《Ada letters》 |2009年第1期|38-40|共3页
  • 作者

    Robert Dewar;

  • 作者单位
  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

  • 入库时间 2022-08-17 13:36:58

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号