Encapsulation, inheritance and polymorphism

MRAB python at mrabarnett.plus.com
Thu Jul 19 03:28:30 CEST 2012


On 19/07/2012 02:14, Steven D'Aprano wrote:
> On Wed, 18 Jul 2012 15:48:28 +0100, Lipska the Kat wrote:
>
>> On 18/07/12 15:34, Grant Edwards wrote:
>
>>> Unless you're asking about the tabs vs. spaces argument.  In that case,
>>> people who use 4 spaces per level are 'correct'; people who use a
>>> different number of spaces are a bit less correct; people who use tabs
>>> are wrong;
>>
>> hmm, I've been using tabs ... still, why use one key press when you can
>> use 4 ;-).
>
> My editor lets me add four spaces with a single key press, and delete
> them again with another single key press.
>
> Personally, I think tabs make more sense for indents than spaces, but for
> compatibility with others who are not as enlightened and insist on using
> broken tools that cannot deal with tabs, I have reluctantly standardised
> on spaces for indentation.
>
"""Thus spake the Lord: Thou shalt indent with four spaces. No more, no 
less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent 
thou
two, excepting that thou then proceed to four. Tabs are right out."""
  -- Georg Brandl




More information about the Python-list mailing list