Re: Enhancement request
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
---910079544-941147371-1220517877=:10798
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT
On Wed, 3 Sep 2008, Lionel van den Berg wrote:
On Sep 4, 2:31?pm, Tegiri Nenashi <TegiriNena...@gmail.com> wrote:
I'm programming java since 96 and can't remember myself ever using
main method with arguments. Does anybody have a different experience?
I've used them, mainly when running from commandline.
Same here. I've used them a lot.
Now that I don't use these arguments, I never feel to make a
concentrated effort to remember them. Why bother remembering something
that I can easily copy over from somewhere else. However, after doingg
this same trick for 100 time, I ask why Java can't just be simplified
to allow
? static void main() {
? }
as a program entry point?
Considering you ownly write one main method for an application it is
hardly a common inconvenience, I therefore see no real reason to support
your suggestion.
Agreed.
What i would support would be an int return type from main, so you can
return an exit code to the OS. I don't see why one should have to use
System.exit to do that.
tom
--
Who would you help in a fight, Peter van der Linden or Bill Gates?
---910079544-941147371-1220517877=:10798--