Python's "only one way to do it" philosophy isn't good?
Paul Rubin
http
Sat Jun 16 23:07:35 EDT 2007
Neil Cerutti <horpner at yahoo.com> writes:
> I don't know that much about ML. I know is does a really nice job
> of generic containers, as does C++. But can it 'foo' any type as
> easily as C++?
>
> template <class T> T foo(T);
I don't know enough C++ to understand what the above means exactly,
but I think the answer is approximately "yes". I actually don't
know ML either, so I'm thinking in terms of Haskell types which
are similar.
More information about the Python-list
mailing list