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
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
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
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
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
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
"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