FROM : j o a r
DATE : Tue Nov 02 12:11:16 2004
Hej,
We have a really large and old project, and recently found a place
where a plugin had an implementation of a method in a category that
clashed (same name) as a method in a category in the application
loading the plugin. This was difficult to troubleshoot, and is a nasty
type of bug.
Is there any way to detect when a problem like this one is introduced?
As ObjC doesn't have namespaces in the language, I guess the only way
to prevent it from happening is to use prefixes on class and method
names. The problem could still occur of course, and I think that it
would make sense to be able to detect such a problem.
Can you get that type of info from the runtime, in the form of some
sort of callback method or debug log? Any other ideas?
j o a r
DATE : Tue Nov 02 12:11:16 2004
Hej,
We have a really large and old project, and recently found a place
where a plugin had an implementation of a method in a category that
clashed (same name) as a method in a category in the application
loading the plugin. This was difficult to troubleshoot, and is a nasty
type of bug.
Is there any way to detect when a problem like this one is introduced?
As ObjC doesn't have namespaces in the language, I guess the only way
to prevent it from happening is to use prefixes on class and method
names. The problem could still occur of course, and I think that it
would make sense to be able to detect such a problem.
Can you get that type of info from the runtime, in the form of some
sort of callback method or debug log? Any other ideas?
j o a r
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

