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

android - questions about switching from C2DM to GCM -

rewrite asp to php based on asp query -

visual studio 2010 - Error on RDLC Expression -