[Yum] new daily

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



		Hi, seth!

>>>>> "sv" == seth vidal <skvidal@xxxxxxxxxxxx> writes:


 sv> Cleaned up a bunch of comma space style problems and ' vs ".  
 
 nice!
  
  
 But what about spaces after ','?  At natural human language, we always add 
 space after ','...  Why?  More easy reading for other people. 
 
 
 
 What about spaces before/after operators?  Compare readability of:
 
    some_var=some_another-more_another
 
    some_var = some_another - more_another


 Python Style Guide (http://www.python.org/peps/pep-0008.html):
 
 == cut ==
 Whitespace in Expressions and Statements
 
  - Always surround these binary operators with a single space on
      either side: assignment (=), comparisons (==, <, >, !=, <>, <=,
      >=, in, not in, is, is not), Booleans (and, or, not).
 ==
  

 sv> Generally I was just trying to make the code more readable.

 yes!  Right way.  And at this way,  I think  
 
     s/,(\S)/, \1/g

 will be good step ;)
 
-- 
		Bor.


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux