Menu

#365 Interface enforcement

open
nobody
None
5
2009-05-21
2009-05-21
No

Perhaps some form of this could be implemented. It would be nice if there was some kind of notation, such as:

class MyClass:##interface mypackage.mymodule.MyPydevInterface
pass

that would enforce the existence of method signatures in classes - this is helpful for development of systems that rely heavily on interfaces, and in the future could be used for coding-time error notification and code generation. Perhaps the interface that is 'included' would be defined as a special structure for pydev in its own file, or simply a class in a python file.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.