slovodefinícia
duck typing
(foldoc)
duck typing

A term coined by Dave Thomas for a kind of
dynamic typing typical of some programming languages, such
as Smalltalk, Ruby or Visual FoxPro, where a
variable's run-time value determines the operations that
can be performed on it.

The term comes from the "duck test": if it walks like a duck
and quacks like a duck, it must be a duck.

Duck typing considers the methods to which a value responds
and the attributes it posesses rather than its relationship
to a type hierarchy. This encourages greater polymorphism
because types are enforced as late as possible.


(http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/100511).

(2006-09-13)
podobné slovodefinícia

Nenašli ste slovo čo ste hľadali ? Doplňte ho do slovníka.

na vytvorenie tejto webstránky bol pužitý dictd server s dátami z sk-spell.sk.cx a z iných voľne dostupných dictd databáz. Ak máte klienta na dictd protokol (napríklad kdict), použite zdroj slovnik.iz.sk a port 2628.

online slovník, sk-spell - slovníkové dáta, IZ Bratislava, Malé Karpaty - turistika, Michal Páleník, správy, údaje o okresoch V4