Hmm... May be I misunderstood something
Hmm... May be I misunderstood something
Posted Jul 17, 2009 4:41 UTC (Fri) by khim (subscriber, #9252)In reply to: Unladen Swallow 2009Q2 released by dw
Parent article: Unladen Swallow 2009Q2 released
How can the rope help in real usecase: change of the interface of in big
codebase? I can explain how it's done with C:
1. Old version of feature (class, function, etc) is marked as __attribute__
((deprecated)) (with comment about possible replacements).
2. After month or two feature is removed.
Note: the codebase is big and that means you can not get access to all users of the feature (they are in diffirent repositories, etc). How can this be done with rope?
Sure, the rope looks nice, but does it work for big projects? I was under impression that it can only do "IDE-style refactoring": where all project can be loaded in one tool. This is where Java IDEs are great, but this NOT the real advantage of static typing. The real advantage is simple fact that interface is checked at compile time and, the most iportant, changes to the interface are checked at compile time!
If you start adding unittests required to check the interface for all classes you are using you are losing the "number of lines" advantage Python offers over C/C++ really fast... Sure C/C++ are awful languages too, but it's related to stupid low-level C pointers, not to the static typing...
