[Tutor] data driven programming
akleider at sonic.net
Fri Apr 4 04:33:19 CEST 2014
On 2014-04-03 16:36, Alan Gauld wrote:
> On 04/04/14 00:09, Alex Kleider wrote:
>> On 2014-04-03 13:52, Danny Yoo wrote:
>>> You'll also hear the term "Data Driven Programming" or "Table Driven
>>> Programming" to refer to this idea. For example:
>> Does anyone know of a similar blog or tutorial (regarding Data Driven
>> Programming) that uses Python for it's example(s)? From what I've
>> so far, 'data driven' is a concept quite independent of 'object
> I don't know of a Python tutorial.
> Yes, data driven is completely different to OO.
> It is complementary in that you can data drive OO programs too.
> And to some extent Python is an example of a data driven
> design since function (and method) calls are associated with
> dictionaries (ie Python namespaces).
Can you elaborate, please, on what you mean by pointing out that the
fact that Python's function and method calls are associated with
dictionaries makes it 'an example of data driven design?' I'm not clear
on that relationship. Thanks, Alex
More information about the Tutor