Re: [racket] slides unit testing

2013-07-11 Thread Laurent
Here's a much longer talk that might be of interest to you: https://www.youtube.com/watch?feature=player_embedded&v=kkTFx3-duc8 It's about moving (partly) from OOP to FP, discusses the advantages of the latter for design, mutation, but also the cases where OO is still useful. It's by Martin Oders

Re: [racket] slides unit testing

2013-07-03 Thread Sam Tobin-Hochstadt
On Wed, Jul 3, 2013 at 3:04 PM, John Clements wrote: > > It depends on a .png file, which I'll send you separately. If you check out the git repository corresponding to that gist, you can add the .png file. Sam Racket Users list: http://lists.racket-lang.org/users

Re: [racket] slides unit testing

2013-07-03 Thread John Clements
On Jul 2, 2013, at 10:20 PM, Eric Tanter wrote: > Yes!!! That was what I had in mind!! Thanks John! > > (And yes, if you can share the slides, that'd be even better) Sure, here's the slideshow source. https://gist.github.com/jbclements/5921746 It depends on a .png file, which I'll send you se

Re: [racket] slides unit testing

2013-07-02 Thread Eric Tanter
Yes!!! That was what I had in mind!! Thanks John! (And yes, if you can share the slides, that'd be even better) -- Éric On Jun 27, 2013, at 21:08, John Clements wrote: > > On Jun 12, 2013, at 11:15 AM, Eric Tanter wrote: > >> Hi, >> >> I remember that someone, some time ago (how precise!),

Re: [racket] slides unit testing

2013-06-28 Thread John Clements
On Jun 27, 2013, at 11:49 PM, Laurent wrote: > > > > On Thu, Jun 27, 2013 at 9:08 PM, John Clements > wrote: > > On Jun 12, 2013, at 11:15 AM, Eric Tanter wrote: > > > Hi, > > > > I remember that someone, some time ago (how precise!), posted on this list > > a link to a couple of slides t

Re: [racket] slides unit testing

2013-06-27 Thread Laurent
On Thu, Jun 27, 2013 at 9:08 PM, John Clements wrote: > > On Jun 12, 2013, at 11:15 AM, Eric Tanter wrote: > > > Hi, > > > > I remember that someone, some time ago (how precise!), posted on this > list a link to a couple of slides that nicely and concisely illustrate the > advantages of pure funct

Re: [racket] slides unit testing

2013-06-27 Thread John Clements
On Jun 12, 2013, at 11:15 AM, Eric Tanter wrote: > Hi, > > I remember that someone, some time ago (how precise!), posted on this list a > link to a couple of slides that nicely and concisely illustrate the > advantages of pure functions vs. impure ones when doing testing. Sorry for the late

Re: [racket] slides unit testing

2013-06-13 Thread Eric Tanter
Thanks! Frame conditions are (I think) only implicitly hinted at by Stephen's slide (I guess that's the point of the line `getOther()==-4 //hasn't changed'). -- Éric On Jun 13, 2013, at 9:51 AM, Matthias Felleisen wrote: > > I don't have slides and I don't recall this post, but I recall po

Re: [racket] slides unit testing

2013-06-13 Thread Stephen Bloch
On Jun 12, 2013, at 2:15 PM, Eric Tanter wrote: > I remember that someone, some time ago (how precise!), posted on this list a > link to a couple of slides that nicely and concisely illustrate the > advantages of pure functions vs. impure ones when doing testing. This is probably not what you

Re: [racket] slides unit testing

2013-06-13 Thread Matthias Felleisen
I don't have slides and I don't recall this post, but I recall posting somewhere, not too long ago (this is conceptual not verbatim): PURE FUNCTIONS are tested via -- f(in) = out IMPURE FUNCTIONS NEE are tested via -- set up state -- set up frame condition testing -- f(in) = out %%

Re: [racket] slides unit testing

2013-06-13 Thread Eric Tanter
Thanks a lot Stephen. Effectively, that's not at all what I was remembering (which was rather "picture-centric"), but that is also very helpful. I'll keep on mining the list archives until I find it or someone remembers. Cheers, -- Éric On Jun 12, 2013, at 8:45 PM, Stephen Bloch wrote: > >