[Python-ideas] Graph class
Hannu Krosing
hannu at krosing.net
Mon Dec 17 00:28:04 CET 2012
On 12/16/2012 04:41 PM, Guido van Rossum wrote:
> I think of graphs and trees as patterns, not data structures.
How do you draw line between what is data structure and what is pattern ?
Do you have any ideas on how to represent "patterns" in
python standard library ?
By a set of samples ?
By (a set of) classes realising the patterns ?
By a set of functions working on existing structures which
implement the pattern ?
Duck-typing should lend itself well to this last approach.
Do we currently have any modules in standard library which are
more patterns and less data structures ?
-----------------------
Hannu
>
>
>
> --
> --Guido van Rossum (on iPad)
>
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20121217/858d7f4b/attachment.html>
More information about the Python-ideas
mailing list