I am interested in porting the javacript protovis visualization library to python for use in scientific computing. I have a general question and a specific question.
General information. I have never migrated an entire library before. What are some good strategies? Should I first implement a user oriented API and then populate it in pythonic style? Or is it better to first try to transfer the internal structure / infrastructure, and then rebuild the API on top of it?
Specifically: this library seems to heavily use javascript prototype inheritance, which is slightly different from the python model. I found a person who made a fairly simple method for emulating prototype inheritance in python. However, from the point of view of porting the library, I would prefer not to twist python to be more like javascript. Any feedback on this would be greatly appreciated. Thanks!
Uri
source share