[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnumed-devel] renaming methods on infrastructure classes
From: |
s j tan |
Subject: |
[Gnumed-devel] renaming methods on infrastructure classes |
Date: |
Mon, 10 Feb 2003 12:24:42 +1100 |
User-agent: |
Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 |
could the convention that methods be commented as deprecated and the new
method to use suggested , be used. In other words, in gmPlugin leave Show(),
make it call ReceiveFocus()
and put code in ReceiveFocus() , if that's the preferred name ; the main
problem is that any substantial ui interacting code is highly dependent on a
stable interface for the infrastructure components : unless you want
everything communicating in XML and have message translaters all over the
place.
gmDemographics OnTool has it's own implementation, and calls Show(), so it
needs to have renaming of this method. When you start to have a lot of code,
this can be quite a problem.
Adding to the basic infrastructure methods doesn't affect previous
functioning components ( it mainly bloats the interface if done too many
times) , but removing or renaming methods does break older code.
- [Gnumed-devel] renaming methods on infrastructure classes,
s j tan <=