covariance - Java vs Smalltalk - covarince and contravariance -


does smalltalk support covariance , contravariance? these concepts apply language?

smalltalk strictly , dynamically typed. cares if parameter object responds messages gets send. if not, raises dnu (does not understand) @ run time when message sent (which can handle either hand, or respond in code). @ compile time, every parameter object, , allowed send message object.


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -