On Jan 9, 9:39 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Paddy wrote:
> > To see how they act against 'corner cases' and
> > an exercise for me in trying to create corner cases. (I'm in to
> > functional testing at the mo').
>
> sounds more like "pulling requirements out of thin air". not sur
On Jan 9, 9:29 pm, Paddy <[EMAIL PROTECTED]> wrote:
> On Jan 9, 8:56 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>
> > Donald 'Paddy' McCarthy wrote:
> > > I created some more test strings and ran posters solutions against them.
>
> > the point being?
>
> >
>
> To see how they act against 'corner
Paddy wrote:
> To see how they act against 'corner cases' and
> an exercise for me in trying to create corner cases. (I'm in to
> functional testing at the mo').
sounds more like "pulling requirements out of thin air". not sure that
helps the OP get a better understanding of Python, really.
On Jan 9, 8:56 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Donald 'Paddy' McCarthy wrote:
> > I created some more test strings and ran posters solutions against them.
>
> the point being?
>
>
To see how they act against 'corner cases' and
an exercise for me in trying to create corner cases. (I
On Jan 9, 8:47 pm, [EMAIL PROTECTED] wrote:
> Donald 'Paddy' McCarthy:
>
> [... lots and lots and lots of tests...]
>
> C'mon Paddy, where are the timings too? Are you becoming lazy
> lately? ;-)
>
> Bear bugs,
> bearophile
Get it right before you get it fast. But what is 'right'.
--
http://mail.
Donald 'Paddy' McCarthy wrote:
> I created some more test strings and ran posters solutions against them.
the point being?
--
http://mail.python.org/mailman/listinfo/python-list
Donald 'Paddy' McCarthy:
[... lots and lots and lots of tests...]
C'mon Paddy, where are the timings too? Are you becoming lazy
lately? ;-)
Bear bugs,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list
cesco wrote:
I created some more test strings and ran posters solutions against them.
results attached.
- Paddy.
# alternating_replacements.py
tests = " 1 2_ 3_4 5_6_ 7_8_9 10_11_12_ 13_14_15_16 17_18_19_20_" \
" _ _21 _22_ _23_24 _25_26_ _27_28_29 _30_31_32_ _33_34_35_36" \
" __ _