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

2009-12-21 Thread Jonathan Schleifer
Am 19.12.2009 um 20:47 schrieb Darrin Chandler: When you can write your code to remain testable. If you've changed code, then you're only testing test code instead of production code. If you change it back for production, did you change it back correctly? Better to call the same code from

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

2009-12-20 Thread Matthias Kilian
On Sat, Dec 19, 2009 at 06:00:14PM -0600, Marco Peereboom wrote: [1] except of course for Haskell, the ONE TRUE GOD of proper programming :P Really? then why do you use scrotwm? Because I'm a slacker.

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

2009-12-20 Thread Ryan Flannery
On Sat, Dec 19, 2009 at 7:00 PM, Marco Peereboom sl...@peereboom.us wrote: On Sat, Dec 19, 2009 at 03:18:55PM -0500, Ryan Flannery wrote: On Sat, Dec 19, 2009 at 2:51 PM, Nick Guenther kou...@gmail.com wrote: Python is about thinking about what you're doing. It's one of those languages that

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

2009-12-19 Thread ropers
2009/12/19 Henning Brauer lists-open...@bsws.de: any excuse to not know python is a good and valid one. any. If you have the time, I'd love to hear you elaborate. So far most people whose opinion I value have only said good things about Python. You're the first person whose opinion I respect to

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

2009-12-19 Thread Darrin Chandler
On Sat, Dec 19, 2009 at 01:54:54PM +0100, ropers wrote: 2009/12/19 Henning Brauer lists-open...@bsws.de: any excuse to not know python is a good and valid one. any. If you have the time, I'd love to hear you elaborate. So far most people whose opinion I value have only said good things

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

2009-12-19 Thread Martin Schröder
2009/12/19 ropers rop...@gmail.com: 2009/12/19 Henning Brauer lists-open...@bsws.de: any excuse to not know python is a good and valid one. any. If you have the time, I'd love to hear you elaborate. So far most It's religion. The python followers say the same about perl. :-) Best Martin

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

2009-12-19 Thread Claudio Jeker
On Sat, Dec 19, 2009 at 06:17:50AM -0700, Darrin Chandler wrote: On Sat, Dec 19, 2009 at 01:54:54PM +0100, ropers wrote: 2009/12/19 Henning Brauer lists-open...@bsws.de: any excuse to not know python is a good and valid one. any. If you have the time, I'd love to hear you elaborate. So

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

2009-12-19 Thread Darrin Chandler
On Sat, Dec 19, 2009 at 02:38:20PM +0100, Claudio Jeker wrote: On Sat, Dec 19, 2009 at 06:17:50AM -0700, Darrin Chandler wrote: On Sat, Dec 19, 2009 at 01:54:54PM +0100, ropers wrote: 2009/12/19 Henning Brauer lists-open...@bsws.de: any excuse to not know python is a good and valid one.

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

2009-12-19 Thread Ted Unangst
The rules for scoping are utterly fucked. On Dec 19, 2009, at 7:54 AM, ropers rop...@gmail.com wrote: 2009/12/19 Henning Brauer lists-open...@bsws.de: any excuse to not know python is a good and valid one. any. If you have the time, I'd love to hear you elaborate. So far most people whose

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

2009-12-19 Thread Ted Unangst
It's very hard to fix the indenting when you're copying code from a web forum/email archive/whatnot that mangled it. Been there done that. Pythons behavior in this regard makes it very aggravating to work with as a newcomer, and for many people who are a little suspicious of the whole

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

2009-12-19 Thread Darrin Chandler
On Sat, Dec 19, 2009 at 10:03:00AM -0500, Ted Unangst wrote: It's very hard to fix the indenting when you're copying code from a web forum/email archive/whatnot that mangled it. Been there done that. Pythons behavior in this regard makes it very aggravating to work with as a newcomer, and for

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

2009-12-19 Thread Floor Terra
On Sat, Dec 19, 2009 at 2:38 PM, Claudio Jeker cje...@diehard.n-r-g.com wrote: Ugh, a programming language where you can't copy paste from xterm to xterm without fucking up the program is just way to much pain to work on. I agree that copy/paste is a big problem in Python. But in my experience

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

2009-12-19 Thread Henning Brauer
* Floor Terra flo...@gmail.com [2009-12-19 16:47]: But in my experience copy/paste of code in any language is dangerous. [ ] you have ever seriously used C heck, even perl. -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting,

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

2009-12-19 Thread Floor Terra
On Sat, Dec 19, 2009 at 6:08 PM, Henning Brauer lists-open...@bsws.de wrote: * Floor Terra flo...@gmail.com [2009-12-19 16:47]: But in my experience copy/paste of code in any language is dangerous. [ ] you have ever seriously used C heck, even perl. In my experience (mostly python and c),

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

2009-12-19 Thread Jonathan Schleifer
Floor Terra flo...@gmail.com wrote: This is because most of the copy/paste goes like this: 1) Write some loop 2) Need similar loop 3) copy/paste old loop 4) Modify pasted loop (but forget one tiny change) 5) New loop has bug This is why I never just copy code, but type it. While you type,

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

2009-12-19 Thread Jonathan Schleifer
Darrin Chandler dwchand...@stilyagin.com wrote: I agree that copy/paste from the web would be challenging for newcomers. Pastes from the web do horrible things to indenting. If you aren't comfortable with Python it'd be a huge pain. Well, enforced whitespaces are a double-edges sword: While

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

2009-12-19 Thread Henning Brauer
* Floor Terra flo...@gmail.com [2009-12-19 19:10]: On Sat, Dec 19, 2009 at 6:08 PM, Henning Brauer lists-open...@bsws.de wrote: * Floor Terra flo...@gmail.com [2009-12-19 16:47]: But in my experience copy/paste of code in any language is dangerous. [ ] you have ever seriously used C

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

2009-12-19 Thread Darrin Chandler
On Sat, Dec 19, 2009 at 07:29:00PM +0100, Jonathan Schleifer wrote: Darrin Chandler dwchand...@stilyagin.com wrote: I agree that copy/paste from the web would be challenging for newcomers. Pastes from the web do horrible things to indenting. If you aren't comfortable with Python it'd be a

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

2009-12-19 Thread Jonathan Schleifer
Darrin Chandler dwchand...@stilyagin.com wrote: You're doing testing wrong and the wrongness has nothing to do with python. ;-) Erm, since when is it wrong to change code for testing, to make sure it even works under strange circumstances? oO -- Jonathan [demime 1.01d removed an attachment

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

2009-12-19 Thread Darrin Chandler
On Sat, Dec 19, 2009 at 08:32:08PM +0100, Jonathan Schleifer wrote: Darrin Chandler dwchand...@stilyagin.com wrote: You're doing testing wrong and the wrongness has nothing to do with python. ;-) Erm, since when is it wrong to change code for testing, to make sure it even works under

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

2009-12-19 Thread Nick Guenther
and just to add to the pyre... On Sat, Dec 19, 2009 at 8:38 AM, Claudio Jeker cje...@diehard.n-r-g.com wrote: Ugh, a programming language where you can't copy paste from xterm to xterm without fucking up the program is just way to much pain to work on. On Sat, Dec 19, 2009 at 10:03 AM, Ted

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

2009-12-19 Thread Ryan Flannery
On Sat, Dec 19, 2009 at 2:51 PM, Nick Guenther kou...@gmail.com wrote: Python is about thinking about what you're doing. It's one of those languages that forces you to work on a higher level (not that there aren't lots of places where python is used as a scripting language--that code tends to

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

2009-12-19 Thread Claudio Jeker
On Sat, Dec 19, 2009 at 02:51:32PM -0500, Nick Guenther wrote: and just to add to the pyre... On Sat, Dec 19, 2009 at 8:38 AM, Claudio Jeker cje...@diehard.n-r-g.com wrote: Ugh, a programming language where you can't copy paste from xterm to xterm without fucking up the program is just

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

2009-12-19 Thread Darrin Chandler
On Sat, Dec 19, 2009 at 02:51:32PM -0500, Nick Guenther wrote: and just to add to the pyre... On Sat, Dec 19, 2009 at 8:38 AM, Claudio Jeker cje...@diehard.n-r-g.com wrote: Ugh, a programming language where you can't copy paste from xterm to xterm without fucking up the program is just

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

2009-12-19 Thread Nick Guenther
On Sat, Dec 19, 2009 at 3:19 PM, Claudio Jeker cje...@diehard.n-r-g.com wrote: On Sat, Dec 19, 2009 at 02:51:32PM -0500, Nick Guenther wrote: and just to add to the pyre... On Sat, Dec 19, 2009 at 8:38 AM, Claudio Jeker cje...@diehard.n-r-g.com wrote: Ugh, a programming language where

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

2009-12-19 Thread Jacob Meuser
On Sat, Dec 19, 2009 at 02:51:32PM -0500, Nick Guenther wrote: and just to add to the pyre... python sucks because people think it's great. ever try to port a program written in C that uses Scons as it's build system? for me, the C is easy, fixing the damn Scons (python) build scripts is a

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

2009-12-19 Thread Chris Dukes
On Sat, Dec 19, 2009 at 04:37:08PM +0100, Floor Terra wrote: On Sat, Dec 19, 2009 at 2:38 PM, Claudio Jeker cje...@diehard.n-r-g.com wrote: Ugh, a programming language where you can't copy paste from xterm to xterm without fucking up the program is just way to much pain to work on. I

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

2009-12-19 Thread Marco Peereboom
On Sat, Dec 19, 2009 at 02:51:32PM -0500, Nick Guenther wrote: and just to add to the pyre... On Sat, Dec 19, 2009 at 8:38 AM, Claudio Jeker cje...@diehard.n-r-g.com wrote: Ugh, a programming language where you can't copy paste from xterm to xterm without fucking up the program is just

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

2009-12-19 Thread Marco Peereboom
On Sat, Dec 19, 2009 at 03:18:55PM -0500, Ryan Flannery wrote: On Sat, Dec 19, 2009 at 2:51 PM, Nick Guenther kou...@gmail.com wrote: Python is about thinking about what you're doing. It's one of those languages that forces you to work on a higher level (not that there aren't lots of places

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

2009-12-19 Thread William Boshuck
On Sat, Dec 19, 2009 at 06:00:14PM -0600, Marco Peereboom wrote: ... Really? then why do you use scrotwm? Because it kicks the balls out of every other wm.

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

2009-12-19 Thread Johan Beisser
On Sat, Dec 19, 2009 at 4:00 PM, Marco Peereboom sl...@peereboom.us wrote: There is no limit to shit code produced by amateurs and professionals. Out of this whole thread this is the only statement I agree with completely.