prefixes are from another time.. now there are good IDEs.
More to write, More to explain and NO benefit.
Please use your favorite IDE, that is enough.
NM

On Mon, Feb 22, 2010 at 4:00 PM, fadden <[email protected]> wrote:

> On Feb 22, 12:39 am, Bob Kerns <[email protected]> wrote:
> > The point of style conventions is to make things easier, not provoke
> > arguments.
>
> It succeeds at both.
>
> > There is, however, NEGATIVE benefit -- actual harm, from the Hungarian
> > Notation you find in Microsoft's code, which redundantly encodes the
> > PHYSICAL datatype in every usage, impeding maintenance, and often
> > leading to variables declared one way but named a different way.
>
> This article is interesting (skip down to "I'm Hungary"):
>
>  http://www.joelonsoftware.com/articles/Wrong.html
>
> He posits that the notation was created for different *kinds* of
> things, not different *types* of things.  For example, a pixel offset
> could be window-relative or layout-relative, and you'd use a different
> prefix on the variable name to keep yourself (or others reading your
> code) from mixing them up.  The use of redundant prefixes evolved out
> of a misunderstanding of what the original proponent meant by "type".
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to