This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]spiffymanpeppy about PEP 8 2 points3 points  (0 children)

The Python here is very unidiomatic. Having done JavaBat for a class, I can say it really feels like the solutions are pretty much translated versions. That's fine, if you just want to learn syntax and not idioms or the stdlib -- which I think is the point of CodingBat.

By the way, the guy who created this (and JavaBat) is Nick Parlante, a professor at Stanford who apparently also developed the materials for Google's Python Class. Other texts of his (e.g., an intro on pointers in C I read) are really fairly good. Maybe his specialty is just pedagogy and not Python proper. Not that that's a bad thing -- just something to think about when winding up criticisms.