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 b

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 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 wrote: >> > Python is about thinking about what you're doing. It's one of those >> > languages that forces you to work on a hi

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-19 Thread Johan Beisser
On Sat, Dec 19, 2009 at 4:00 PM, Marco Peereboom 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.

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 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 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 pyt

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 > 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 pa

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 > 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/past

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 *ro

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 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 >> wrote: >> > >> > Ugh, a programming language where you can't copy paste from xterm to x

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 > 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 pa

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 > 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 pa

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 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 come out badl

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 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 Unangst wrote: > for

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 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 circumstan

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

2009-12-19 Thread Jonathan Schleifer
Darrin Chandler 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 of type application/pgp-

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 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. > >

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

2009-12-19 Thread Henning Brauer
* Floor Terra [2009-12-19 19:10]: > On Sat, Dec 19, 2009 at 6:08 PM, Henning Brauer wrote: > > * Floor Terra [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 experienc

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

2009-12-19 Thread Jonathan Schleifer
Darrin Chandler 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 enforcing newcomes to i

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

2009-12-19 Thread Jonathan Schleifer
Floor Terra 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, you also th

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 wrote: > * Floor Terra [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), code that has been pasted has

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

2009-12-19 Thread Henning Brauer
* Floor Terra [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, Mail and DNS Ser

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 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 copy/paste of code in a

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 f

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 white

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 wrote: 2009/12/19 Henning Brauer : 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 thi

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 : > > > > any excuse to not know python is a good and valid one. any. > > >

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 : > > > 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 > >

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

2009-12-19 Thread Martin Schröder
2009/12/19 ropers : > 2009/12/19 Henning Brauer : >> 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 Darrin Chandler
On Sat, Dec 19, 2009 at 01:54:54PM +0100, ropers wrote: > 2009/12/19 Henning Brauer : > > 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'

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

2009-12-19 Thread ropers
2009/12/19 Henning Brauer : > 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 go against that. reg