Age | Commit message (Collapse) | Author |
|
It's not too bad, since I worked things out in Java first. 2
things are of note: 1. Java Deque's pop is Python Deque's
popleft. 2. I didn't use an iterator to remove items. It
seemed to work fine.
|
|
Fun exercise. Interesting to experience the mentality change
of creating classes in Python, after first creating it in Java.
I removed the parent property in Python class since it's not
used. Object aliasing caused a bug that took me a bit to figure out.
|
|
Strict TDD is not possible, at least the type I'm used to through Eclipse PyDev, where I write tests first, and rely on PyDev to generate files/function stubs. Bummer, but I decided to stick with PyCharm just to learn it.
|