Questions tagged [dynamic-languages]

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

157 questions
0
votes
1 answer

Python-ic way to reuse instances in a way similar to dependency injection

I have a wrapper around DB which provides some utility methods. An instance of DB wrapper is created once and accessible from a base class. I want to reuse this instance in a helper class, and was thinking about dependency injection due to my…
oldbam
  • 2,397
  • 1
  • 16
  • 24
0
votes
4 answers

Writing programs in dynamic languages that go beyond what the specification allows

With the growth of dynamically typed languages, as they give us more flexibility, there is the very likely probability that people will write programs that go beyond what the specification allows. My thinking was influenced by this question, when I…
James Black
  • 41,583
  • 10
  • 86
  • 166
0
votes
3 answers

Storing elements of different type in a vector/array in C++?

I'm trying to create a simple dynamic language interpreter in C++. I'd like to be able to declare dynamically typed arrays, but I'm not sure how to store them in some object in C++. In Ruby/Python I can store anything I want, but what's an efficient…
user1527166
  • 3,229
  • 5
  • 26
  • 26
0
votes
2 answers

WordPress localization wp-config.php

i cannot set my theme's language to my language.. i've translated the needed field and set the mo + po file in 'wp-content/languages' folder changed the field in wp-config.php file to my language - define('WPLANG', 'it_IT'); but still all the field…
Iliya Reyzis
  • 3,618
  • 2
  • 19
  • 32
0
votes
1 answer

Inheritance in Javascript, What am I doing wrong here?

Hi I am very new to javascript. i have been given the task to create a javascript framework to load multiple e-learning module and make them interact with each other via xml. I am using a method of inheritance as shown below. Base class…
chandings
  • 549
  • 3
  • 9
  • 23
-1
votes
1 answer

Why groovy is called mostly dynamic language?

When reviewing Paul King's slide share of Groovy , i found groovy is called mostly dynamic. I always thought groovy is a duck type dynamic language. Is some part of the groovy is not so dynamic? http://www.slideshare.net/paulk_asert/groovy-tutorial
Dan
  • 108
  • 5
-3
votes
4 answers

Why dynamic languages don't have private member definition feature in classes (like objective c or python)?

Why do dynamic languages lack the ability to define private members in classes? Is there any implementation concern on this feature? Is it possible for this feature to be implemented for a dynamic language?
farid bekran
  • 2,684
  • 2
  • 16
  • 29
1 2 3
10
11