At 11:12 PM -0500 3/17/02, Bryan C. Warnock wrote: >On Sunday 10 March 2002 01:32, Melvin Smith wrote: >> I think it would be useful to add an init method for PMCs which takes >> a size argument constructor since there will be times when >> a language implementor wants to created a sized type. >> >> Right now init takes no arguments. >> >> It will definitely be important for C style languages where most things >> are structs, classes or static arrays. >> >> I personally think that it should take this argument by >> default rather than being overloaded (all in interest of less bloat, I'd >> rather just modify the existing init). >> >> Any objections? > >On a side note, did anyone read the "Is Java's 'new' harmful?" article in >DDJ?
Just finished it. Odd little article--I'm not sure I see the problems, and the author seemed kind of confused. (Like at the beginning he says that there aren't any languages that separate allocation and initialization, then later complains about the problems you get when smalltalk does exactly that) I couldn't tell whether the problems were considered inherent in new, or just due to a screwup with Java's particular style of it. -- Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk