This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: Defining Java Classes in Kawa
- From: Chris Dean <ctdean at sokitomi dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: "David O'Callaghan" <David dot OCallaghan at cs dot tcd dot ie>, Kawa Mailing List <kawa at sources dot redhat dot com>
- Date: Mon, 23 Aug 2004 11:00:14 -0700
- Subject: Re: Defining Java Classes in Kawa
- References: <20040823162238.GD3124@toad.cs.tcd.ie><412A2EC8.3050605@bothner.com>
> But what should be the name of the constructor method?
Since we're (as you say) stuck using Java model, I'd vote for the
magic method named "new". It's a reserved word in Java so it won't
conflict we anything, and it's the strategy that some other object
systems use.
Regards,
Chris Dean