What is considered an "advanced" topic in Python?
Chris Angelico
rosuav at gmail.com
Sun May 31 00:25:27 EDT 2015
On Sun, May 31, 2015 at 1:30 PM, Rustom Mody <rustompmody at gmail.com> wrote:
> <Admission>
> In a recent course I taught, I used a[0] and a[1:] to split arrays and write
> recursive functions a la Haskell in Python.
> Is it efficient? no
> Is it idiomatic python? NO!
> Is it good to do that? That depends on one's priority.
> In mine, learning recursion is more important than learning idiomatic python
> </Admission>
If recursion is more important than idiomatic Python, why are you
using a Python interpreter? Use Python to teach Python, and use
Haskell to teach Haskell!
ChrisA
More information about the Python-list
mailing list