CONTRAVARIANCE FOR THE REST OF US

被引:0
|
作者
HARRIS, W [1 ]
机构
[1] HEWLETT PACKARD CO,SOFTWARE & SYST LAB,PALO ALTO,CA 94304
来源
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Contravariance is a phenomenon that occurs as an interaction between subtyping and higher-order functions. It affects all object-oriented programming languages including C++ and is usually circumvented by overloading. The author provides examples in C++ where overloading does not have the desired effect, and discusses what a better - more expressive and typesafe - language might look like.
引用
收藏
页码:10 / &
相关论文
共 50 条
  • [1] The rest of us
    Swaine, M
    DR DOBBS JOURNAL, 1998, 23 (02): : 107 - 109
  • [2] THE REST OF US
    Brun, Catherine
    EUROPE-REVUE LITTERAIRE MENSUELLE, 2020, (1094) : 120 - 129
  • [3] THE REST OF US
    Muilenburg, Matt
    SOUTHERN HUMANITIES REVIEW, 2014, 48 (03): : 88 - 108
  • [4] CONTRAVARIANCE THROUGH ENRICHMENT
    Shulman, Michael
    THEORY AND APPLICATIONS OF CATEGORIES, 2018, 33 : 95 - 130
  • [5] Robots for the rest of us or the ‘best’ of us?
    Peter Danielson
    Ethics and Information Technology, 1999, 1 (1) : 75 - 81
  • [6] Robots for the rest of us or the 'best' of us?
    Danielson, Peter
    Ethics and Information Technology, 1999, 1 (01): : 77 - 83
  • [7] Statistics for the rest of us
    Wechsler, AS
    JOURNAL OF THORACIC AND CARDIOVASCULAR SURGERY, 2001, 122 (02): : 207 - 208
  • [8] The farmer and the rest of us
    McNall, P. E.
    JOURNAL OF LAND AND PUBLIC UTILITY ECONOMICS, 1945, 21 (03): : 302 - 303
  • [9] Rattlebacks for the rest of us
    Jones, Simon
    Hunt, Hugh E. M.
    AMERICAN JOURNAL OF PHYSICS, 2019, 87 (09) : 699 - 713
  • [10] Lacan, the rest and us
    Barone, Paulo
    AUT AUT, 2009, (343): : 116 - 121