The Source for Java Technology Collaboration
User: Password:



Start New Message Post a Reply

Subject:  How about using New as the constructor
Date:  2007-01-14 04:59:18
From:  datle


how about having the keyword New as the class constructor instead of the class now. So if you look at someone else source and see the word New() you immediately know its the constructor regardless of class name. Please don't say this should be a task for the IDE to highlight the constructor; java, unlike .net doesn't have a default IDE (VS) so the convention can vary from vendor to vendor.

 Feed java.net RSS Feeds