Re: RFD: Built-in testing

2009-01-24 Thread Ovid
- Original Message From: jerry gay jerry@gmail.com i don't understand the drive to have unique test identifiers. we don't have unique identifiers for every code statement, or every bit of documentation. why are tests so important/special/different that each warrants a unique

Re: RFD: Built-in testing

2009-01-24 Thread Will Coleda
On Fri, Jan 23, 2009 at 4:08 PM, jerry gay jerry@gmail.com wrote: On Fri, Jan 23, 2009 at 12:37, Dave Whipp d...@dave.whipp.name wrote: I could also imagine writing code that reads from an Sqlite database, and imposes that info onto the test. Whatever mechanism is used, I think we need a

.trim and 'gilding the lilly'

2009-01-24 Thread Ovid
In chromatic's latest Perl 6 Design Minutes post (http://use.perl.org/~chromatic/journal/38334), he writes Missing a discussion on.trim and gilding the lily. Nicholas: * if I wanted PHP I know where to find it So there's a lot of context missing there and I'm unsure of what this

Re: .trim and 'gilding the lilly'

2009-01-24 Thread Nicholas Clark
On Sat, Jan 24, 2009 at 04:55:44AM -0800, Ovid wrote: In chromatic's latest Perl 6 Design Minutes post (http://use.perl.org/~chromatic/journal/38334), he writes Missing a discussion on.trim and gilding the lily. Nicholas: * if I wanted PHP I know where to find it So

Re: .trim and 'gilding the lilly'

2009-01-24 Thread Ovid
- Original Message From: Nicholas Clark n...@ccl4.org You can also write that as a single substitution, although it turns out the combined statement is slower than the separate ones. That might not matter to you, though. s/^\s+|\s+$//g; If there's one

Re: .trim and 'gilding the lilly'

2009-01-24 Thread Nicholas Clark
On Sat, Jan 24, 2009 at 09:27:04AM -0800, Ovid wrote: You know, I rewrote .trim as: .sub 'trim' :method :multi(_) .local string s s = self s = 'trim_start'(s) s = 'trim_end'(s) .return(s) .end I thought about the performance issue but opted for

Re: .trim and 'gilding the lilly'

2009-01-24 Thread chromatic
On Saturday 24 January 2009 05:56:03 Nicholas Clark wrote: And if left alone I can ramble that much, is anyone surprised that chromatic can't manage to minute several people discussing it? Amusingly, you were the one who didn't minute it; I wasn't on the call that week. -- c

Re: .trim and 'gilding the lilly'

2009-01-24 Thread Nicholas Clark
On Sat, Jan 24, 2009 at 10:58:51AM -0800, chromatic wrote: On Saturday 24 January 2009 05:56:03 Nicholas Clark wrote: And if left alone I can ramble that much, is anyone surprised that chromatic can't manage to minute several people discussing it? Amusingly, you were the one who didn't

Re: .trim and 'gilding the lilly'

2009-01-24 Thread Ovid
- Original Message From: Nicholas Clark n...@ccl4.org I can't keep up with the typing even with my mouth shut. I definitely can't think, talk and type at the same time. For what it's worth, I have trouble doing more than *one* of those at once. In any event, it's nice to get a

r25017 - docs/Perl6/Spec

2009-01-24 Thread pugs-commits
Author: masak Date: 2009-01-24 22:17:56 +0100 (Sat, 24 Jan 2009) New Revision: 25017 Modified: docs/Perl6/Spec/S29-functions.pod Log: [S29] documented .i method in Num Modified: docs/Perl6/Spec/S29-functions.pod === ---

Re: RFD: Built-in testing

2009-01-24 Thread dpuu
On Jan 23, 8:59 pm, jswit...@gmail.com (Jason Switzer) wrote: That sounds useful on the surface but often turns out to be more difficult to do than you might think. There are many cases where tests are performed from within loops. Something like S09.237 may or may not be in a loop, may be