RE: Hungarian Notation [Was Re: Too many aliases]
Jan- the upside is you dont have to look up a variable to know what type it is: zVariable is Null termed string bVariable is boolean nVariable is an Integer fVariable is a float dVariable is a double.. cVariable is a char Martin __ easy peasy..Shawshank Redemption > Subject: Hungarian Notation [Was Re: Too many aliases] > From: j...@bytesmiths.com > Date: Sat, 6 Aug 2011 09:58:43 -0700 > To: mysql@lists.mysql.com > > > From: Johnny Withers > > > > http://en.wikipedia.org/wiki/Hungarian_notation > > "The original Hungarian notation... was invented by Charles Simonyi... who > later became Chief Architect at Microsoft." > > Ugh. That explains a lot! > > The only time I let types intrude on names is with booleans, which I try to > name with a state-of-being verb, such as "has_paid", "is_member", > "has_children", etc. > > > On Thu, Aug 4, 2011 at 9:41 AM, Mike Diehl wrote: > > > >> Well, while we're on the subject of SQL style, can anyone tell me why I'm > >> always seeing people prefixing the name of a table with something like > >> "tbl?" > > > You can't do anything about the length of your life, but you can do something > about its width and depth. -- H. L. Mencken > Jan Steinman, EcoReality Co-op > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=mgai...@hotmail.com >
Re: Too many aliases
It's simple... ttwwadi is the only reason I assume. Sent from my iPad On Aug 5, 2011, at 2:39 PM, (Hal�sz S�ndor) h...@tbbs.net wrote: > 2011/08/04 10:21 -0500, Johnny Withers > http://en.wikipedia.org/wiki/Hungarian_notation > > > On Thu, Aug 4, 2011 at 9:41 AM, Mike Diehl wrote >> Well, while we're on the subject of SQL style, can anyone tell me why I'm >> always seeing people prefixing the name of a table with something like >> "tbl?" > > > Yeah, but why perpetuate such a thing in a language that has type (at least > 'table' is distinct)? BCPL had at all no type. > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe:http://lists.mysql.com/mysql?unsub=joh...@pixelated.net > -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
Hungarian Notation [Was Re: Too many aliases]
> From: Johnny Withers > > http://en.wikipedia.org/wiki/Hungarian_notation "The original Hungarian notation... was invented by Charles Simonyi... who later became Chief Architect at Microsoft." Ugh. That explains a lot! The only time I let types intrude on names is with booleans, which I try to name with a state-of-being verb, such as "has_paid", "is_member", "has_children", etc. > On Thu, Aug 4, 2011 at 9:41 AM, Mike Diehl wrote: > >> Well, while we're on the subject of SQL style, can anyone tell me why I'm >> always seeing people prefixing the name of a table with something like >> "tbl?" You can't do anything about the length of your life, but you can do something about its width and depth. -- H. L. Mencken Jan Steinman, EcoReality Co-op -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org
Re: Too many aliases
2011/08/04 10:21 -0500, Johnny Withers http://en.wikipedia.org/wiki/Hungarian_notation On Thu, Aug 4, 2011 at 9:41 AM, Mike Diehl wrote > Well, while we're on the subject of SQL style, can anyone tell me why I'm > always seeing people prefixing the name of a table with something like > "tbl?" Yeah, but why perpetuate such a thing in a language that has type (at least 'table' is distinct)? BCPL had at all no type. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org