[nvda-addons] Re: Getting somewhere!

  • From: James Scholes <james@xxxxxxxxxxxxx>
  • To: nvda-addons@xxxxxxxxxxxxx
  • Date: Sun, 17 Apr 2016 22:47:49 +0100

Damien Sykes-Pendleton wrote:

Camel-casing: Is there any practical benefit to using this? Usually I
always thought that code layout and variable declaration were a matter
of personal preference rather than standard.

It is mostly personal preference, and in fact, the Python standards
recommend underscore-separated words rather than camel case.  It's the
same with tabs vs spaces.  Using one or the other makes no difference to
a user of your code, so unless you're contributing to NVDA core where
the project standards should definitely be followed, use whatever you like.
-- 
James Scholes
http://twitter.com/JamesScholes
----------------------------------------------------------------
NVDA add-ons: A list to discuss add-on code enhancements and for reporting 
bugs. 

Community addons are available from: http://addons.nvda-project.org
To send a message to the list: nvda-addons@xxxxxxxxxxxxx
To change your list settings/unsubscribe: 
//www.freelists.org/list/nvda-addons
To contact list moderators: nvda-addons-moderators@xxxxxxxxxxxxx

Other related posts: