Re: Hungarian Notation

2008-05-30 Thread Michael Mabin
Variable names should have prefixes or suffixes (as I prefer) that represent the "kind" of data they represent rather than the data type itself. For example account_bal_am, order_qt, line_ct, first_nm. Where am is amount, qt is quantity and ct is count. Coding standards could impose rules on data

Re: Hungarian Notation

2008-05-30 Thread Lie
On May 27, 12:28 pm, "inhahe" <[EMAIL PROTECTED]> wrote: > Does anybody know of a list for canonical prefixes to use for hungarian > notation in Python?  Not that I plan to name all my variables with hungarian > notation, but just for when it's appropriate. If it was me, I'd use an empty-defined c

Re: Hungarian Notation

2008-05-28 Thread Bruno Desthuilliers
Dan Bishop a écrit : On May 27, 12:28 am, "inhahe" <[EMAIL PROTECTED]> wrote: Does anybody know of a list for canonical prefixes to use for hungarian notation in Python? Not that I plan to name all my variables with hungarian notation, but just for when it's appropriate. pnWe vUse adjHungaria

Re: Hungarian Notation

2008-05-27 Thread Lou Pecora
In article <[EMAIL PROTECTED]>, Dan Bishop <[EMAIL PROTECTED]> wrote: > On May 27, 12:28 am, "inhahe" <[EMAIL PROTECTED]> wrote: > > Does anybody know of a list for canonical prefixes to use for hungarian > > notation in Python?  Not that I plan to name all my variables with hungarian > > notati

Re: Hungarian Notation

2008-05-27 Thread Dan Bishop
On May 27, 12:28 am, "inhahe" <[EMAIL PROTECTED]> wrote: > Does anybody know of a list for canonical prefixes to use for hungarian > notation in Python?  Not that I plan to name all my variables with hungarian > notation, but just for when it's appropriate. pnWe vUse adjHungarian nNotation prepAt

Re: Hungarian Notation

2008-05-27 Thread George Sakkis
On May 27, 3:43 am, Paddy <[EMAIL PROTECTED]> wrote: > On May 27, 7:42 am, "inhahe" <[EMAIL PROTECTED]> wrote: > > > Well, I just need it once in a while. Actually now is the only time I > > remember. The last time what I needed was a file name extension. I want a > > string called headers, but

Re: Hungarian Notation

2008-05-27 Thread John Salerno
"Paul McGuire" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On May 27, 12:28 am, "inhahe" <[EMAIL PROTECTED]> wrote: My own knee-jerk reaction was "Hungarian Notation Bad!" and googling about for "python hungarian notation" led me through some like-minded sites. But I also found