Rosetta Code:Village Pump/Suggest a programming task: Difference between revisions

Content added Content deleted
(→‎General: Named association)
No edit summary
Line 26: Line 26:
: ''Type-variant'' rather suggests dynamic polymorphism, i.e. when the specific type of the value (and the value itself) depends on the type tag of the object. MS VARIANT is rather a different thing. It is a union, a container type which content depends on the value of the constraint. This is also a form polymorphism, but different, a dynamically constrained type. The type of the object does '''not''' vary. A similar case represents unbounded array, which size depends on the actual bounds (the constraint). (Granted, MS VARIANT serves the purpose of dynamic polymorphism, but that is merely because MS wished to keep it conform to non-[[object-oriented|OO]] languages.) --[[User:Dmitry-kazakov|Dmitry-kazakov]] 13:24, 9 April 2009 (UTC)
: ''Type-variant'' rather suggests dynamic polymorphism, i.e. when the specific type of the value (and the value itself) depends on the type tag of the object. MS VARIANT is rather a different thing. It is a union, a container type which content depends on the value of the constraint. This is also a form polymorphism, but different, a dynamically constrained type. The type of the object does '''not''' vary. A similar case represents unbounded array, which size depends on the actual bounds (the constraint). (Granted, MS VARIANT serves the purpose of dynamic polymorphism, but that is merely because MS wished to keep it conform to non-[[object-oriented|OO]] languages.) --[[User:Dmitry-kazakov|Dmitry-kazakov]] 13:24, 9 April 2009 (UTC)
* [[wp:Miller-Rabin_test|Miller-Rabin test]]
* [[wp:Miller-Rabin_test|Miller-Rabin test]]
==Games===
* Four (or more) Connect (with variable and standard playboard)
===Database / Network===
===Database / Network===
* Simple DB connection and queries.
* Simple DB connection and queries.