首页> 外文期刊>Communications of the ACM >Primitive Types in Java Considered Harmful
【24h】

Primitive Types in Java Considered Harmful

机译:Java中的原始类型被认为有害

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

摘要

The practice of starting with Java's primitive types, in many textbooks on OO programming using Java, obfuscates, rather than illustrates, the OO paradigm. Why should one start a text focusing on teaching the OO paradigm by featuring the part of Java that is not object-oriented? Why, in a programming language that has continued the evolutionary trend toward abstraction by eliminating pointer types, should a student encounter at the outset the machine representations 'int', 'byte', 'long', 'float', and 'double' the OO paradigm is supposed to be hiding?
机译:在许多有关使用Java进行OO编程的教科书中,从Java原始类型开始的做法是混淆而不是说明OO范例。为什么要通过以Java的非面向对象部分为特色而开始着重讲授面向对象范式的文本?为什么在编程语言中通过消除指针类型延续了抽象的发展趋势,为什么学生一开始就应该遇到机器表示形式“ int”,“ byte”,“ long”,“ float”和“ double” OO范式应该隐藏了吗?

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号