CamelCase versus wide_names (Prothon)
Hugh Macdonald
HughMacdonald at brokenpipefilms.com
Thu Apr 15 11:34:30 EDT 2004
On Thu, 15 Apr 2004 08:17:08 -0700
"Mark Hahn" <mark at prothon.org> wrote:
> pretend you were picking your standard from
> scratch (as we are doing in the Prothon world) and give your vote for
> which you'd prefer?
I've not really been following Prothon in general, but I'm happy to give my opinion on this....
I think most people use whatever they 'grew up with' (in the programming sense...). I started programming in UnrealScript (Unreal/UnrealTournament coding) and I still use the naming schemes that they used in their code...
camelCaseAllTheWay (unless I'm extending someone else's code and they've used wide_names)
I also use kinda-hungarian notation, in that all of my boolean (or pseudo-boolean) variables are:
bVariable
(by pseudo-boolean I mean an int acting as a boolean, for example)
When I'm reading code, this makes sense, as I read:
if bTurnedOn:
as
If be turned on:
Anyway, I think the answer that you're looking for from me is camelCaps all the way....
--
Hugh Macdonald
The Moving Picture Company
More information about the Python-list
mailing list