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

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

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -