From: Martin Gainty Date: August 7 2011 2:02am Subject: RE: Hungarian Notation [Was Re: Too many aliases] List-Archive: http://lists.mysql.com/mysql/225499 Message-Id: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="_1e25cd38-b58a-4daf-acf3-9cfaf3061450_" --_1e25cd38-b58a-4daf-acf3-9cfaf3061450_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=20 ______________________________________________=20 easy peasy..Shawshank Redemption > Subject: Hungarian Notation [Was Re: Too many aliases] > From: Jan@stripped > Date: Sat=2C 6 Aug 2011 09:58:43 -0700 > To: mysql@stripped >=20 > > From: Johnny Withers > >=20 > > http://en.wikipedia.org/wiki/Hungarian_notation >=20 > "The original Hungarian notation... was invented by Charles Simonyi... wh= o later became Chief Architect at Microsoft." >=20 > Ugh. That explains a lot! >=20 > The only time I let types intrude on names is with booleans=2C which I tr= y to name with a state-of-being verb=2C such as "has_paid"=2C "is_member"= =2C "has_children"=2C etc. >=20 > > On Thu=2C Aug 4=2C 2011 at 9:41 AM=2C Mike Diehl = wrote: > >=20 > >> Well=2C while we're on the subject of SQL style=2C can anyone tell me = why I'm > >> always seeing people prefixing the name of a table with something like > >> "tbl?" >=20 > ---------------- > You can't do anything about the length of your life=2C but you can do som= ething about its width and depth. -- H. L. Mencken > :::: Jan Steinman=2C EcoReality Co-op :::: >=20 >=20 > --=20 > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dmgainty@stripped= om >=20 = --_1e25cd38-b58a-4daf-acf3-9cfaf3061450_--