Top "Dynamic-languages" questions

Dynamic languages are a class of high-level programming languages whos behaviors is determined at runtime rather than compile time.

How does JavaScript .prototype work?

I'm not that into dynamic programming languages but I've written my fair share of JavaScript code. I never really got …

javascript dynamic-languages prototype-oriented
Short description of the scoping rules?

What exactly are the Python scoping rules? If I have some code: code1 class Foo: code2 def spam..... code3 for …

python scope dynamic-languages
Dynamic type languages versus static type languages

What are the advantages and limitations of dynamic type languages compared to static type languages? See also: whats with the …

programming-languages dynamic-languages type-systems
Using -performSelector: vs. just calling the method

I'm still kind of new to Objective-C and I'm wondering what is the difference between the following two statements? [object …

objective-c selector dynamic-languages method-dispatch
How to create inline objects with properties?

In Javascript it would be: var newObject = { 'propertyName' : 'propertyValue' }; newObject.propertyName; // returns "propertyValue" But the same syntax in Python would …

python instantiation dynamic-languages
What is a dynamic language, and why doesn't C# qualify?

Listening to a podcast, I heard that C# is not dynamic language while Ruby is. What is a "dynamic language"? …

c# ruby static-libraries dynamic-languages
Using Groovy MetaClass to overwrite Methods

I have a POJO that uses a service to do something: public class PlainOldJavaObject { private IService service; public String publicMethod(…

unit-testing programming-languages groovy mocking dynamic-languages
Programming language for self-modifying code?

I am recently thinking about writing self-modifying programs, I think it may be powerful and fun. So I am currently …

programming-languages dynamic-languages self-modifying
Any way to determine which object called a method?

I'm hoping that Ruby's message-passing infrastructure means there might be some clever trick for this. How do I determine the …

ruby messaging introspection dynamic-languages
Are Interfaces in JavaScript necessary?

I suppose this could apply to any dynamic language, but the one I'm using is JavaScript. We have a situation …

javascript oop interface dynamic-languages