Conversation
|
I really like the idea. It is something I was also thinking a lot in the past and I think it's a step in the right direction. To put the whole thing into perspective for the other people who might view this pull request. This pull request aims to solve a problem with the "dynamic" nature of Python which makes it hard to enforce interfaces and other things. All of this causes inconsistent API and confusing to the user. Currently, most of this stuff is enforced manually (during code reviews) which obviously doesn't scale and it's prone to errors. Now some high-level comments about the whole thing:
I also plan to add some more comments about the implementation later on. |
|
I also forgot to add that I would like to see this thing up and running for new contributions asap. This means that a very simple script should do. We can then extend and make it more generic, robust, etc. later on. I think this would also be a great task for GSoC 2014. |
Here's something i played around with for a couple of hours, I think there is some potential here but it's probably best to discuss it before going any further.
This proof of concept script looks for the following errors:
This has 70 matches - though a lot are false positives because
create_nodeuses kwargs for things like image, size, etc. I don't really like that it does that...But there are real matches - should ec2's list_snapshot be ex_list_snapshot for example.