From: Chuck E. <ec...@mi...> - 2001-04-04 22:20:17
|
At 03:16 PM 4/4/2001 -0700, Tavis Rudd wrote: > > Or if you know that all other classes in Webware used methods for accessing > > named objects (including other kits like MiddleKit and UserKit), then it's > > an extra step to remember that the one exception is Session. > >If it's not too much work I'd suggest the same for MiddleKit and UserKit, >but I've never used them or read the code so I have no idea what I'm >talking about ... For UserKit, users can be indexed by name, id and externalId. These aren't even different objects. Just different indexes on the same object. Dict-like access is not a consideration there. > > I have mixed feelings about active attributes. (Hope I don't spawn a big > > discussion here.) I have decided to stick with accessor methods and > > underscored data attributes in Webware. >Agreed, ActiveAttributes can complicated pickling of objects and add a lot of >complexity. I wasn't even aware of that particular problem. :-) > > >-- no line shall be more than 100 (or preferably 80) characters long and > > >continuation (\) >... > > Agreed to a certain extent. I just haven't decided if I really want to > > enforce this and if so what column length. My editor lets me toggle between > > wrap and no-wrap with Ctrl-W, so I use that quite a bit to make the code > > look good for whatever I'm doing (reading doc strings or reading code). > >Are you using Textpad? >Emacs, vi, and pages non-wrapping pagers like less and more are very >widely used so it'd be worth the effort of going through existing code and >straightening this out. It bugs me enough that I'll volunteer to do it, >once a column-width is chosen. (Speaking of wrapping, your e-mail client wraps your lines kind of long. So when they get word wrapped in my viewing window they look funny. e.g., every other line is just a word or two. Maybe you can drop the wrap to 60/65 or increase to 16,000 which is effectively no wrapping (in which case the viewer does that job).) I use UltraEdit: http://www.ultraedit.com/ I'm talking to the core Webware developers about the wrapping issue now. I want to collect their opinions before I make a move as they make the largest contributions and possibly do the most reading of source. It seems Geoff is already in favor of wrapping at least doc strings. I probably am as well since this would also help the HTML colorized source view that gets generated during installation. -Chuck |