gettingstarted
[Top] [All Lists]

Re: Naming Conventions

To: "Getting Started" <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Naming Conventions
From: "Steven Taylor" <realbasic at superjacent dot net>
Date: Mon, 31 May 2004 20:51:55 +1000
Delivered-to: gettingstarted at lists dot realsoftware dot com
List-help: <mailto:gettingstarted-request@lists.realsoftware.com?subject=help>
List-id: Getting Started <gettingstarted.lists.realsoftware.com>
List-post: <mailto:gettingstarted@lists.realsoftware.com>
References: <200405302218 dot AA200344224 at 1st dot net>
Thanks Deane & Jay.

I only raised the question because the tutorial doesn't use any sort of
naming convention, though I can understand why not.   I think txtText
boxes will now become edtText boxes and so on.

Steve Taylor.


On Sun, 30 May 2004 22:18:11 -0400, "Jay Rimalrick" <ascii at 1st dot net> said:
> I agree, use whatever you are comfortable with.  Like Deane, I still use
> my learned VB naming convention in RB.
> 
> -Jay
> 
> >> Hi all, I'm new to RB, coming fromVB/Access world.
> >>
> >> I'm currently going through the tuturial and all seems to make sense.    
> >> As
> >> you can imagine I'm comparing things to VB.   In VB I have gotten use to  
> >> a
> >> naming convention, you know - prefixing objects/variables with a three
> >> letter code which references the variable or control.
> >>
> >> Is there a document which recommends a suggested naming convention for RB
> >> variables, controls etc.
> >>
> >> Thanks in advance.
> >>
> >> Steven Taylor
> >> Melbourne, Australia.
> >
> >Hi Steve,
> >
> >Good to see another Aussie using a decent programming langauge like RB :P
> >
> >I think naming conventions are pretty much a user specified thing rather  
> >than language specific. Personally I do the same, prefix the three letter  
> >short of things, for edit fields I'm using edt, push buttons are btn,  
> >string is str, integer is int and so on. I go with what makes most sense  
> >to me.
> >
> >Deane Venske
> >Gold Coast, Australia :P
> >_______________________________________________
> >Unsubscribe or switch delivery mode:
> ><http://support.realsoftware.com/listmanager/>
> >
> >Search the archives of this list here:
> ><http://support.realsoftware.com/listarchives/lists.html>
> >
>  
> 
> 
> 
> 
> ________________________________________________________________
> Sent via the WebMail system at 1st.net
> 
> 
>  
>                    
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://support.realsoftware.com/listmanager/>
> 
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>
-- 
Steven Taylor
Melbourne, Australia
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>