[Year 12 Its] Re: Naming Conventions
robertw
robertw at lakessc.vic.edu.au
Wed May 11 11:16:21 EST 2005
Hi folks,
It would appear to be the opposite to Java where the function of the method
is emphasised, and goes first rather than the GUI element that is the
vehicle for the processing.
void calculateBtn_actionPerformed(ActionEvent e) {
//put your code in here
}
Visual Basic began with a view that its pre-defined structural features were
the main key to solving the problems. Whereas Java, a language designed
before GUI's were incorporated into the language, has always had an emphasis
on the processes rather than the GUI structure.
Hence the reason you see Java adapting to mobile phone GUI's as much as
Windows or Linux,
but then again I could be wrong:-)
Cheers, RobW
Adrian Janson writes:
> John,
>
> That's the naming convention that I use. You could also talk to your
> students about filename conventions which include a reference to the version
> of their program.
>
> Cheers,
> Adrian Janson
> Melbourne High School
>
> -----Original Message-----
> From: is-bounces at edulists.com.au [mailto:is-bounces at edulists.com.au] On
> Behalf Of john edwards
> Sent: Friday, 6 May 2005 12:29 PM
> To: is at edulists.com.au
> Subject: [Year 12 Its] Naming Conventions
>
> Hi all,
>
> I am looking at Outcome 3 and the dot point: naming conventions for files
> and objects
>
> Could anyone please provide me with some information on this area?
>
> I tell students when using VB that objects should have a prefix frm or lbl
> etc to indicate their type.
> If it a file name then make it represent the contents of the file. Use a
> underscore to separate words or uppercase for the second word (eg.
> AddressBook).
>
> Could you please tell me if I am on the right track.
>
> Many THanks,
>
> John Edwards
> Gippsland Grammar School
> Sale
>
> _______________________________________________
> http://www.edulists.com.au
> IT Systems Mailing List kindly supported by
> http://www.vcaa.vic.edu.au - Victorian Curriculum and Assessment Authority
> and
> http://www.vitta.org.au - VITTA Victorian Information Technology Teachers
> Association Inc
>
> _______________________________________________
> http://www.edulists.com.au
> IT Systems Mailing List kindly supported by
> http://www.vcaa.vic.edu.au - Victorian Curriculum and Assessment Authority and
> http://www.vitta.org.au - VITTA Victorian Information Technology Teachers Association Inc
More information about the is
mailing list