Questions tagged [dynamic]

Dynamic is a widely used term that, in general, describes a decision made by the program at run-time rather than at compile time.

Programs that perform some common tasks based on program inputs in contrast with programs that predetermine the task beforehand. Dynamic is often used to mean:

  • The dynamic keyword
  • using JavaScript to manipulate web pages in the browser.
  • have features that allow the of a variable to be bound at run-time.
  • Program generated content, especially content in contrast with web pages created by a person and stored on disk, ready to serve.
27209 questions
48
votes
5 answers

Dynamically implementing an interface in .NET 4.0 (C#)

With the new dynamic capabilities in .NET 4.0, it seems like it should be possible to dynamically implement an interface, e.g. given: public interface IFoo { string Bar(int baz); } public class Foo : IFoo { public string Bar(int baz) {…
Greg Beech
  • 133,383
  • 43
  • 204
  • 250
47
votes
2 answers

Best algorithm for efficient collision detection between objects

I'm confused. Well not confused, so much as not wanting to do 6 test programs to see which algorithm is the best. So I thought I'd ask my expert friends here at SO to give me the benefit of their experience. The scenario is a 3d scene with…
Robinson
  • 9,666
  • 16
  • 71
  • 115
47
votes
6 answers

What qualifies a programming language as dynamic?

What qualifies a programming language to be called dynamic language? What sort of problems should I use a dynamic programming language to solve? What is the main difference between static programming languages and dynamic programming languages?
Gainster
  • 5,481
  • 19
  • 61
  • 90
47
votes
4 answers

In PHP 5 can I instantiate a class dynamically?

Is it possible to dynamically instantiate a class using a variable? For example is something like this possible in PHP? class foo { public $something; } $class_name = "foo"; $f = new $class_name();
Bijou Trouvaille
  • 8,794
  • 4
  • 39
  • 42
47
votes
3 answers

Why does appending a