[racket-dev] Racket docs and data-driven design

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Fri Sep 16 12:13:23 EDT 2011

Why is else evil? I can see how it might be pragmatic to avoid it in a
language without contracts, but I'm having trouble seeing evil.


On Fri, Sep 16, 2011 at 10:52 AM, Shriram Krishnamurthi <sk at cs.brown.edu> wrote:
> I introduced templates today.  Almost as if on cue, one student asked
> whether he could use else instead of (cons?  l).  I told them I was
> going to make a MORAL judgment about why it was EVIL, and spent ten
> minutes talking about all that.
> As class ended, one of my students came up and said,
> "So why doesn't the Racket language Web site agree with you?"
> http://docs.racket-lang.org/guide/Lists__Iteration__and_Recursion.html
> (Look for "[else".)
> Shriram
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev

Posted on the dev mailing list.