|
From: Joseph S. <jo...@jo...> - 2002-02-27 18:32:15
|
On Wed, Feb 27, 2002 at 11:45:21AM -0600, Ryan Rozich wrote: > FYI - I did receive a copy of my own message. That's OK though because I > like that feature. Unless Ioerger calls me in today, I will probably > work from home. I tend to get more done that way.=20 Even though I set it up differently from what I thought, I agree that getting my own email back is better. That way, I have a complete, easily accessible archive of activity on the list. One little point, though. There should be a "List Reply" option on your email program, which will follow the "mail-followup-to" header. If your email program does not have this feature, simply use the Reply to All button. This will duplicate the message to the person you are replying to, but it generally is easily filtered in procmail or ignored. > Here is a question - let me know what you think: >=20 > In the newest version of the Gamebots code - there is a > GamebotsConstants.Map class. The code would not compile because I got > several errors when they tried to use the java.util.Map interface for a > lot of their hashtables (which is good, because it is always best to > refer to the interfaces that your classes implement). I'm not sure how > they got it to compile, but I couldn't so I had to go through and rename > all the map interfaces java.util.Map to disambiguate. Now it compiles. I > wonder though if I wouldn't also change the name of the inner class > GamebotsConstants.Map to GamebotsConstants.TeamColorMap (as all it does > is map color name strings to integers).=20 Your solution of using the entire name java.util.Map, is not as unacceptable a solution as it first appears. This is the easiest solution, and IF you are at all worried about backward compatibility, you would want to keep the name. For reference, see the javax.swing.Timer and java.util.Timer classes. On the other hand, since this is only in the newest version, it probably doesn't have any real backward compatibility concerns. I'd suggest just changing the name, and letting other people deal with it. We should try to avoid commonplace names for all of our classes, if possible. Joe --=20 Joseph M. Sims My Netiquette can be found at: http://www.rfc1855.org |