Re: OT: Python (was Re: vi in /bin)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Darrin Chandler
Date: Saturday, December 19, 2009 - 7:21 am

On Sat, Dec 19, 2009 at 02:38:20PM +0100, Claudio Jeker wrote:

I have often done copy/paste with Python code between xterms. Of course
you must fix indenting. If you naively copy/paste C you will also have
issues of syntax and meaning, but if you are so used to looking at C
code that the meaning in the new context is immediately obvious without
thinking then you will not notice. Instead you just fix/adjust it in
place and move on.

Some people will never like indent having meaning. But there is value in
having an 'else' that *looks* like it belongs with an 'if' actually
belong to that 'if', *because* it looks like it does. You don't ever
have to like Python, but indenting to make blocks is perfectly
cromulent. It's not a deficiency, it's just different.

-- 
Darrin Chandler            |  Phoenix BSD User Group  |  MetaBUG
dwchandler@stilyagin.com   |  http://phxbug.org/      |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
OT: Python (was Re: vi in /bin), ropers, (Sat Dec 19, 5:54 am)
Re: OT: Python (was Re: vi in /bin), Darrin Chandler, (Sat Dec 19, 6:17 am)
Re: OT: Python (was Re: vi in /bin), Martin Schröder, (Sat Dec 19, 6:26 am)
Re: OT: Python (was Re: vi in /bin), Claudio Jeker, (Sat Dec 19, 6:38 am)
Re: OT: Python (was Re: vi in /bin), Darrin Chandler, (Sat Dec 19, 7:21 am)
Re: OT: Python (was Re: vi in /bin), Ted Unangst, (Sat Dec 19, 7:58 am)
Re: OT: Python (was Re: vi in /bin), Ted Unangst, (Sat Dec 19, 8:03 am)
Re: OT: Python (was Re: vi in /bin), Darrin Chandler, (Sat Dec 19, 8:21 am)
Re: OT: Python (was Re: vi in /bin), Floor Terra, (Sat Dec 19, 8:37 am)
Re: OT: Python (was Re: vi in /bin), Henning Brauer, (Sat Dec 19, 10:08 am)
Re: OT: Python (was Re: vi in /bin), Floor Terra, (Sat Dec 19, 11:06 am)
Re: OT: Python (was Re: vi in /bin), Jonathan Schleifer, (Sat Dec 19, 11:26 am)
Re: OT: Python (was Re: vi in /bin), Jonathan Schleifer, (Sat Dec 19, 11:29 am)
Re: OT: Python (was Re: vi in /bin), Henning Brauer, (Sat Dec 19, 12:06 pm)
Re: OT: Python (was Re: vi in /bin), Darrin Chandler, (Sat Dec 19, 12:26 pm)
Re: OT: Python (was Re: vi in /bin), Jonathan Schleifer, (Sat Dec 19, 12:32 pm)
Re: OT: Python (was Re: vi in /bin), Darrin Chandler, (Sat Dec 19, 12:47 pm)
Re: OT: Python (was Re: vi in /bin), Nick Guenther, (Sat Dec 19, 12:51 pm)
Re: OT: Python (was Re: vi in /bin), Ryan Flannery, (Sat Dec 19, 1:18 pm)
Re: OT: Python (was Re: vi in /bin), Claudio Jeker, (Sat Dec 19, 1:19 pm)
Re: OT: Python (was Re: vi in /bin), Darrin Chandler, (Sat Dec 19, 1:30 pm)
Re: OT: Python (was Re: vi in /bin), Nick Guenther, (Sat Dec 19, 1:51 pm)
Re: OT: Python (was Re: vi in /bin), Jacob Meuser, (Sat Dec 19, 2:15 pm)
Re: OT: Python (was Re: vi in /bin), Chris Dukes, (Sat Dec 19, 4:22 pm)
Re: OT: Python (was Re: vi in /bin), Marco Peereboom, (Sat Dec 19, 5:00 pm)
Re: OT: Python (was Re: vi in /bin), Marco Peereboom, (Sat Dec 19, 5:03 pm)
Re: OT: Python (was Re: vi in /bin), William Boshuck, (Sat Dec 19, 5:15 pm)
Re: OT: Python (was Re: vi in /bin), Johan Beisser, (Sat Dec 19, 5:28 pm)
Re: OT: Python (was Re: vi in /bin), Matthias Kilian, (Sun Dec 20, 4:28 am)
Re: OT: Python (was Re: vi in /bin), Ryan Flannery, (Sun Dec 20, 10:58 am)
Re: OT: Python (was Re: vi in /bin), Jonathan Schleifer, (Mon Dec 21, 8:17 am)