OT: Website CMS

William O'Higgins Witteman william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Tue Aug 25 01:45:02 UTC 2009


On Mon, Aug 24, 2009 at 08:45:18PM -0400, Rajinder Yadav wrote:

>About Python, being a C++ developer I like using my braces { } to
>denote code blocks, or any other visual indicator like 'end'
>
>I maybe be wrong about this, but read that python (only) uses
>indentation to denote code blocks? I just don't want to be looking at
>code that may have several nested blocks trying to line up code
>blocks. That is what is stopping me from liking Python, that were I
>stopped looking at Python. If I am wrong about this let me know.

I think you will find that you are wrong, and it will not be a problem.
My experience is that I was already using an auto-indenting editor (vim,
but all good editors do this, and most of the bad ones too) and I just
stopped noticing that I wasn't using braces.

I have had other people claim to be skeptical, but once they got going
it was the same as it always was - they didn't change their indentation,
they just didn't use a character to augment the indentation they were
already doing.
-- 

yours,

William

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://gtalug.org/pipermail/legacy/attachments/20090824/e9de9045/attachment.sig>


More information about the Legacy mailing list