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:
http://blogs.msdn.com/b/ericlippert/archive/2004/02/24/79292.aspx
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
read
so far, 'data driven' is a concept quite independent of 'object
oriented'.
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).
hth
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
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor