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

python - argument must be rect style object - Pygame -

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

c# - Better 64-bit byte array hash -